diff options
author | Robb Matzke <matzke@llnl.gov> | 1999-02-15 17:38:04 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1999-02-15 17:38:04 (GMT) |
commit | c22bac0d207abbdd81123c35681f0558f75de488 (patch) | |
tree | 98db51d9303724a07f13558a7490881e89c6e6ad /tools | |
parent | f6272d42929093a81aa2da79f150333793de49e0 (diff) | |
download | hdf5-c22bac0d207abbdd81123c35681f0558f75de488.zip hdf5-c22bac0d207abbdd81123c35681f0558f75de488.tar.gz hdf5-c22bac0d207abbdd81123c35681f0558f75de488.tar.bz2 |
[svn-r1065] Changes since 19990121
----------------------
./configure.in
./acconfig.h
./configure [REGENERATED]
./src/H5config.h.in [REGENERATED]
./src/H5public.h
./src/H5Omtime.c
Check for <stddef.h>
Checks for `__tm_gmtoff' in `struct tm' because old versions
of GNU libc are different than recent versions. This fixes the
failing mtime test.
./bin/config.guess
./config/freebsd2.2.7 [REMOVED]
./config/freebsd [ADDED]
Changed the name so it works with all versions of FreeBSD.
./src/H5.c
Moved H5F after H5T and H5G in H5_term_library() to satisfy
dependencies.
./src/H5G.c
Fixed a bug that caused H5Gcreate() to fail if the group name
had trailing slashes.
./src/H5Gpublic.h
Changed `group_name' to `name' in a prototype.
./src/Makefile.in
Dynamic library on Linux, but needs for work to be generally
useful.
./src/H5HG.c
./src/H5HGprivate.h
Fixed alignment problems when using old GCC compilers (like
the one shipped with RedHad Linux).
./tools/h5ls.c
Fixed a bug where the contents of the root group could be
listed twice if there was a link back to the root
group. Similarly for groups that are mentioned on the command
line.
Fixed a bug where unknown types were printed with a random
type class number.
./src/H5T.c
./src/H5Tconv.c
./src/H5Tprivate.h
Fixed O(log N) conversion bugs.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5ls.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c index 9a386f0..b6268bf 100644 --- a/tools/h5ls.c +++ b/tools/h5ls.c @@ -926,7 +926,7 @@ display_reference_type(hid_t type, int __unused__ indent) static void display_type(hid_t type, int indent) { - H5T_class_t data_class; + H5T_class_t data_class = H5Tget_class(type); /* Bad data type */ if (type<0) { @@ -1801,16 +1801,19 @@ main (int argc, char *argv[]) * If there are no arguments then list `/'. */ if (argno>=argc) { + H5Gget_objinfo(file, "/", TRUE, &sb); + sym_insert(&sb, "/"); iter.container = "/"; H5Giterate(file, "/", NULL, list, &iter); } else { for (/*void*/; argno<argc; argno++) { if (H5Gget_objinfo(file, argv[argno], TRUE, &sb)>=0 && + H5G_GROUP==sb.type) { /* * Specified name is a group. List the complete contents of * the group. */ - H5G_GROUP==sb.type) { + sym_insert(&sb, argv[argno]); iter.container = container = fix_name("", argv[argno]); H5Giterate(file, argv[argno], NULL, list, &iter); free(container); |