diff options
author | Robb Matzke <matzke@llnl.gov> | 2000-12-29 18:35:32 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 2000-12-29 18:35:32 (GMT) |
commit | a53fbbc0456f2c7b74b01c67ecbe19b833672fc1 (patch) | |
tree | d7311265fad25e5d4685b22e576621c0526922d8 /tools/h5ls.c | |
parent | e6af68a029760154017cd44bb135e2d628fc4384 (diff) | |
download | hdf5-a53fbbc0456f2c7b74b01c67ecbe19b833672fc1.zip hdf5-a53fbbc0456f2c7b74b01c67ecbe19b833672fc1.tar.gz hdf5-a53fbbc0456f2c7b74b01c67ecbe19b833672fc1.tar.bz2 |
[svn-r3227] ./hdf5/tools/h5ls.c
2000-12-28 12:03:41 Robb Matzke <matzke@llnl.gov>
* main: If the file cannot be opened then immediately try the next
argument. This prevents multiple error messages from
the same file.
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r-- | tools/h5ls.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |