summaryrefslogtreecommitdiffstats
path: root/test/mtime.c
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 /test/mtime.c
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 'test/mtime.c')
-rw-r--r--test/mtime.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/mtime.c b/test/mtime.c
index 401d7d7..a2e32c1 100644
--- a/test/mtime.c
+++ b/test/mtime.c
@@ -120,21 +120,21 @@ main(void)
/*
* Open the file and get the modification time. We'll test the new
- * H5Gget_stat() arguments too: being able to stat something without knowing
+ * H5Gget_objinfo() arguments too: being able to stat something without knowing
* its name.
*/
if ((file = H5Fopen(FILE_NAME_1, H5F_ACC_RDONLY, H5P_DEFAULT))<0) return 1;
- if (H5Gget_stat(file, "dset", TRUE, &sb1)<0) return 1;
+ if (H5Gget_objinfo(file, "dset", TRUE, &sb1)<0) return 1;
if ((dset=H5Dopen(file, "dset"))<0) return 1;
- if (H5Gget_stat(dset, ".", TRUE, &sb2)<0) return 1;
+ if (H5Gget_objinfo(dset, ".", TRUE, &sb2)<0) return 1;
if (H5Dclose(dset)<0) return 1;
if (H5Fclose(file)<0) return 1;
- /* Compare times from the two ways of calling H5Gget_stat() */
+ /* Compare times from the two ways of calling H5Gget_objinfo() */
if (sb1.objno[0]!=sb2.objno[0] || sb1.objno[1]!=sb2.objno[1] ||
sb1.mtime!=sb2.mtime) {
puts("*FAILED*");
- puts(" Calling H5Gget_stat() with the dataset ID returned different");
+ puts(" Calling H5Gget_objinfo() with the dataset ID returned different");
puts(" values than calling it with a file and dataset name.");
return 1;
}