From a53fbbc0456f2c7b74b01c67ecbe19b833672fc1 Mon Sep 17 00:00:00 2001 From: Robb Matzke Date: Fri, 29 Dec 2000 13:35:32 -0500 Subject: [svn-r3227] ./hdf5/tools/h5ls.c 2000-12-28 12:03:41 Robb Matzke * main: If the file cannot be opened then immediately try the next argument. This prevents multiple error messages from the same file. --- tools/h5ls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/h5ls.c b/tools/h5ls.c index 56c9821..671ca42 100644 --- a/tools/h5ls.c +++ b/tools/h5ls.c @@ -2162,6 +2162,7 @@ main (int argc, char *argv[]) } if (file<0) { fprintf(stderr, "%s: unable to open file\n", argv[argno-1]); + continue; } if (oname) oname++; if (!oname || !*oname) oname = root_name; -- cgit v0.12