summaryrefslogtreecommitdiffstats
path: root/test/mtime.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-09-01 03:35:23 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-09-01 03:35:23 (GMT)
commit4aa79bb211349c6696677076c02b674275aff797 (patch)
treed78887d59edea5596c24cc9398a35eb2cc221cee /test/mtime.c
parent5aa61b6fcfc99ff4c6b3cfc1c639e062313564ee (diff)
downloadhdf5-4aa79bb211349c6696677076c02b674275aff797.zip
hdf5-4aa79bb211349c6696677076c02b674275aff797.tar.gz
hdf5-4aa79bb211349c6696677076c02b674275aff797.tar.bz2
[svn-r641] Changed function names for beta release.
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 91d7400..401d7d7 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
- * H5Gstat() arguments too: being able to stat something without knowing
+ * H5Gget_stat() 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 (H5Gstat(file, "dset", TRUE, &sb1)<0) return 1;
+ if (H5Gget_stat(file, "dset", TRUE, &sb1)<0) return 1;
if ((dset=H5Dopen(file, "dset"))<0) return 1;
- if (H5Gstat(dset, ".", TRUE, &sb2)<0) return 1;
+ if (H5Gget_stat(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 H5Gstat() */
+ /* Compare times from the two ways of calling H5Gget_stat() */
if (sb1.objno[0]!=sb2.objno[0] || sb1.objno[1]!=sb2.objno[1] ||
sb1.mtime!=sb2.mtime) {
puts("*FAILED*");
- puts(" Calling H5Gstat() with the dataset ID returned different");
+ puts(" Calling H5Gget_stat() with the dataset ID returned different");
puts(" values than calling it with a file and dataset name.");
return 1;
}