summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-09-02 21:16:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-09-02 21:16:24 (GMT)
commit97f56b57a0e5f60e424cdcb887d243787d3f866a (patch)
tree3716896dcc977cfcffca7742afd1ab13796999b7 /tools
parent8fde009d734d3f20da992bdad8b50f7a1e99099e (diff)
downloadhdf5-97f56b57a0e5f60e424cdcb887d243787d3f866a.zip
hdf5-97f56b57a0e5f60e424cdcb887d243787d3f866a.tar.gz
hdf5-97f56b57a0e5f60e424cdcb887d243787d3f866a.tar.bz2
[svn-r654] Fixed last bug (hah! ;-) for beta release, changed H5Gget_stat to H5Gget_objinfo
and renamed internal functions to match up with the renamed API functions.
Diffstat (limited to 'tools')
-rw-r--r--tools/h5dump.c2
-rw-r--r--tools/h5ls.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c
index 58d723c..8b38ad4 100644
--- a/tools/h5dump.c
+++ b/tools/h5dump.c
@@ -386,7 +386,7 @@ dump_all (hid_t group, const char *name, void __unused__ *op_data)
H5Eset_auto (NULL, NULL);
- H5Gget_stat(group, name, FALSE, &statbuf);
+ H5Gget_objinfo(group, name, FALSE, &statbuf);
switch (statbuf.type) {
case H5G_LINK:
diff --git a/tools/h5ls.c b/tools/h5ls.c
index 0351da0..8fbffeb 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -345,7 +345,7 @@ list (hid_t group, const char *name, void __unused__ *cd)
/* Get object information */
H5E_BEGIN_TRY {
- status = H5Gget_stat(group, name, FALSE, &sb);
+ status = H5Gget_objinfo(group, name, FALSE, &sb);
} H5E_END_TRY;
if (status<0) {
puts("**NOT FOUND**");