summaryrefslogtreecommitdiffstats
path: root/test/th5o.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-01-14 23:49:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-01-14 23:49:12 (GMT)
commit7fc10c0ea7e447408ccc747d16516b5505dcffa6 (patch)
tree127f1b52ed9d48dbbed16115ac40c7945fb35fe1 /test/th5o.c
parenta6605796b3fe5d179e6e52f2fa7952666f8b93c4 (diff)
downloadhdf5-7fc10c0ea7e447408ccc747d16516b5505dcffa6.zip
hdf5-7fc10c0ea7e447408ccc747d16516b5505dcffa6.tar.gz
hdf5-7fc10c0ea7e447408ccc747d16516b5505dcffa6.tar.bz2
[svn-r14413] Description:
Change H5P[gs]et_format_bounds() => H5P[gs]et_libver_bounds() and also enumerated values H5F_FORMAT_{EARLIEST, LATEST} => H5F_LIBVER_{EARLIEST, LATEST} 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 Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'test/th5o.c')
-rw-r--r--test/th5o.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/th5o.c b/test/th5o.c
index fec845d..e6071e9 100644
--- a/test/th5o.c
+++ b/test/th5o.c
@@ -582,8 +582,8 @@ test_h5o_plist(void)
CHECK(fapl, FAIL, "H5Pcreate");
/* Set the "use the latest version of the format" bounds for creating objects in the file */
- ret = H5Pset_format_bounds(fapl, H5F_FORMAT_LATEST, H5F_FORMAT_LATEST);
- CHECK(ret, FAIL, "H5Pset_format_bounds");
+ ret = H5Pset_libver_bounds(fapl, H5F_LIBVER_LATEST, H5F_LIBVER_LATEST);
+ CHECK(ret, FAIL, "H5Pset_libver_bounds");
/* Create a new HDF5 file */
fid = H5Fcreate(TEST_FILENAME, H5F_ACC_TRUNC, H5P_DEFAULT, fapl);
@@ -801,8 +801,8 @@ test_h5o_link(void)
CHECK(fapl_id, FAIL, "H5Pcreate");
/* Set the "use the latest version of the format" bounds for creating objects in the file */
- ret = H5Pset_format_bounds(fapl_id, (new_format ? H5F_FORMAT_LATEST : H5F_FORMAT_EARLIEST), H5F_FORMAT_LATEST);
- CHECK(ret, FAIL, "H5Pset_format_bounds");
+ ret = H5Pset_libver_bounds(fapl_id, (new_format ? H5F_LIBVER_LATEST : H5F_LIBVER_EARLIEST), H5F_LIBVER_LATEST);
+ CHECK(ret, FAIL, "H5Pset_libver_bounds");
/* Create a new HDF5 file */
file_id = H5Fcreate(TEST_FILENAME, H5F_ACC_TRUNC, H5P_DEFAULT, fapl_id);