diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-01-14 23:49:12 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-01-14 23:49:12 (GMT) |
commit | 7fc10c0ea7e447408ccc747d16516b5505dcffa6 (patch) | |
tree | 127f1b52ed9d48dbbed16115ac40c7945fb35fe1 /test/tattr.c | |
parent | a6605796b3fe5d179e6e52f2fa7952666f8b93c4 (diff) | |
download | hdf5-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/tattr.c')
-rw-r--r-- | test/tattr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/tattr.c b/test/tattr.c index 99b1d65..d448397 100644 --- a/test/tattr.c +++ b/test/tattr.c @@ -2769,7 +2769,7 @@ test_attr_big(hid_t fcpl, hid_t fapl) unsigned max_compact; /* Maximum # of attributes to store compactly */ unsigned min_dense; /* Minimum # of attributes to store "densely" */ unsigned nshared_indices; /* # of shared message indices */ - H5F_format_version_t low, high; /* File format bounds */ + H5F_libver_t low, high; /* File format bounds */ htri_t is_empty; /* Are there any attributes? */ htri_t is_dense; /* Are attributes stored densely? */ unsigned u; /* Local index variable */ @@ -2818,8 +2818,8 @@ test_attr_big(hid_t fcpl, hid_t fapl) CHECK(ret, FAIL, "H5Pget_shared_mesg_nindexes"); /* Retrieve the format bounds for creating objects in the file */ - ret = H5Pget_format_bounds(fapl, &low, &high); - CHECK(ret, FAIL, "H5Pget_format_bounds"); + ret = H5Pget_libver_bounds(fapl, &low, &high); + CHECK(ret, FAIL, "H5Pget_libver_bounds"); /* Create a dataset */ dataset = H5Dcreate2(fid, DSET1_NAME, H5T_NATIVE_UCHAR, sid, H5P_DEFAULT, dcpl, H5P_DEFAULT); @@ -2881,7 +2881,7 @@ test_attr_big(hid_t fcpl, hid_t fapl) u = 2; sprintf(attrname, "attr %02u", u); attr = H5Acreate2(dataset, attrname, H5T_NATIVE_UINT, big_sid, H5P_DEFAULT, H5P_DEFAULT); - if(low == H5F_FORMAT_LATEST) { + if(low == H5F_LIBVER_LATEST) { CHECK(attr, FAIL, "H5Acreate2"); /* Close attribute */ @@ -8865,8 +8865,8 @@ test_attr(void) CHECK(fapl2, FAIL, "H5Pcopy"); /* Set the "use the latest version of the format" bounds for creating objects in the file */ - ret = H5Pset_format_bounds(fapl2, H5F_FORMAT_LATEST, H5F_FORMAT_LATEST); - CHECK(ret, FAIL, "H5Pset_format_bounds"); + ret = H5Pset_libver_bounds(fapl2, H5F_LIBVER_LATEST, H5F_LIBVER_LATEST); + CHECK(ret, FAIL, "H5Pset_libver_bounds"); /* Create a default file creation property list */ fcpl = H5Pcreate(H5P_FILE_CREATE); |