diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-10-30 21:57:50 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-10-30 21:57:50 (GMT) |
commit | c136b81140106231e471b334bc5248611cec04e6 (patch) | |
tree | 0037e64ba84267eac89e0fcd4db0bd5cf6161ff5 /test/th5o.c | |
parent | f85474466864d1a8b675387b623bebd89bbdc57e (diff) | |
download | hdf5-c136b81140106231e471b334bc5248611cec04e6.zip hdf5-c136b81140106231e471b334bc5248611cec04e6.tar.gz hdf5-c136b81140106231e471b334bc5248611cec04e6.tar.bz2 |
[svn-r14223] Description:
Change existing H5Gget_info -> H5Gget_info_by_name and add new version
of H5Gget_info, with simpler parameters, to better match new API routines.
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
Diffstat (limited to 'test/th5o.c')
-rw-r--r-- | test/th5o.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/th5o.c b/test/th5o.c index f6e6f0b..6af08e4 100644 --- a/test/th5o.c +++ b/test/th5o.c @@ -102,7 +102,7 @@ test_h5o_open(void) VERIFY(id_type, H5I_DATASET, "H5Iget_type for dataset ID"); /* Do something more complex with each of the IDs to make sure they "work" */ - ret = H5Gget_info(grp, ".", &ginfo, H5P_DEFAULT); + ret = H5Gget_info(grp, &ginfo); CHECK(ret, FAIL, "H5Gget_info"); VERIFY(ginfo.nlinks, 1, "H5Gget_info"); /* There should be one object, the datatype */ @@ -315,7 +315,7 @@ test_h5o_open_by_addr(void) VERIFY(id_type, H5I_DATASET, "H5Iget_type for dataset ID"); /* Do something more complex with each of the IDs to make sure they "work" */ - ret = H5Gget_info(grp, ".", &ginfo, H5P_DEFAULT); + ret = H5Gget_info(grp, &ginfo); CHECK(ret, FAIL, "H5Gget_info"); VERIFY(ginfo.nlinks, 1, "H5Gget_info"); /* There should be one object, the datatype */ |