summaryrefslogtreecommitdiffstats
path: root/tools/h5ls
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2010-04-27 21:35:53 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2010-04-27 21:35:53 (GMT)
commit6c5e42a96720ccd4c7b517af8c00c658112dc7af (patch)
tree551e515bd01f54601d530b425d45d263b5f1acb8 /tools/h5ls
parentdaddb56a02bb6503e57993631e70836a10b5d9f2 (diff)
downloadhdf5-6c5e42a96720ccd4c7b517af8c00c658112dc7af.zip
hdf5-6c5e42a96720ccd4c7b517af8c00c658112dc7af.tar.gz
hdf5-6c5e42a96720ccd4c7b517af8c00c658112dc7af.tar.bz2
[svn-r18648] 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 jam. I tested the same change for 1.8 on amani, linew, and jam.
Diffstat (limited to 'tools/h5ls')
-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);