summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2010-04-27 20:55:33 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2010-04-27 20:55:33 (GMT)
commit53f5793d38fe137cd32fec38f8686bd21452d46f (patch)
treeb2ea9ba3ada92536c9244d3e0380f58f6ddd9f2e /tools
parent8b93f9640ece907960efb056a1b09bad2580c37e (diff)
downloadhdf5-53f5793d38fe137cd32fec38f8686bd21452d46f.zip
hdf5-53f5793d38fe137cd32fec38f8686bd21452d46f.tar.gz
hdf5-53f5793d38fe137cd32fec38f8686bd21452d46f.tar.bz2
[svn-r18646] In H5T_get_native_type of H5Tnative.c, I changed the way that the offset, alignment, and
size of nested compound type are calculated by using H5T_cmp_offset. The old way had a bug in it (see bug #1850). Tested on amani, linew, and jam.
Diffstat (limited to 'tools')
-rw-r--r--tools/h5ls/h5ls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c
index c6eee3f..ab3a110 100644
--- a/tools/h5ls/h5ls.c
+++ b/tools/h5ls/h5ls.c
@@ -2403,6 +2403,7 @@ main(int argc, const char *argv[])
break;
*oname = '\0';
} /* end while */
+
if(file < 0) {
fprintf(stderr, "%s: unable to open file\n", argv[argno-1]);
HDfree(fname);