diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-07-05 21:33:26 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-07-05 21:33:26 (GMT) |
commit | e3966680ef87440f0addd704c80c969adc5468b9 (patch) | |
tree | 267377db33639dc3fe79d6ee73d7545dc4cd9eff | |
parent | 6930f2e32df5651c66d3bf3e8fea9b6de23b1843 (diff) | |
download | hdf5-e3966680ef87440f0addd704c80c969adc5468b9.zip hdf5-e3966680ef87440f0addd704c80c969adc5468b9.tar.gz hdf5-e3966680ef87440f0addd704c80c969adc5468b9.tar.bz2 |
[svn-r13948] Description:
Make h5dump more gracious and informative about objects it doesn't
understand.
Tested on:
Mac OS X/32 10.4.10 (amazon)
No need for h5committest - very minor
-rw-r--r-- | tools/h5dump/h5dump.c | 2 | ||||
-rw-r--r-- | tools/lib/h5tools_utils.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c index 9a7385f..ac4c1d2 100644 --- a/tools/h5dump/h5dump.c +++ b/tools/h5dump/h5dump.c @@ -1421,7 +1421,7 @@ dump_all(hid_t group, const char *name, void * op_data) /* Stat the object */ if(H5Gget_objinfo(group, name, FALSE, &statbuf) < 0) { - error_msg(progname, "unable to get object information\n"); + error_msg(progname, "unable to get object information for \"%s\"\n", name); d_status = EXIT_FAILURE; ret = FAIL; goto done; diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c index df26d52..bba2973 100644 --- a/tools/lib/h5tools_utils.c +++ b/tools/lib/h5tools_utils.c @@ -487,7 +487,7 @@ find_objs_cb(hid_t group, const char *name, void *op_data) herr_t ret_value = 0; if(H5Gget_objinfo(group, name, FALSE, &statbuf) < 0) - ret_value = FAIL; + ; /* keep going */ else { haddr_t objno; /* Compact form of object's location */ |