summaryrefslogtreecommitdiffstats
path: root/test/gen_new_group.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-01-03 13:55:39 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-01-03 13:55:39 (GMT)
commit35694d44ae9aedaeed71850222ce014606ed3572 (patch)
treedef0459f6df031c609a9c83d0cebe576ccc0551e /test/gen_new_group.c
parent23c1eb4a6cdbc6fe782c8746eb40a7e54c8a7e42 (diff)
downloadhdf5-35694d44ae9aedaeed71850222ce014606ed3572.zip
hdf5-35694d44ae9aedaeed71850222ce014606ed3572.tar.gz
hdf5-35694d44ae9aedaeed71850222ce014606ed3572.tar.bz2
[svn-r14362] Description:
Switched from "H5P[gs]et_latest_format" to "H5P[gs]et_format_bounds". 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/gen_new_group.c')
-rw-r--r--test/gen_new_group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gen_new_group.c b/test/gen_new_group.c
index 1a57b6f..d1f04e0 100644
--- a/test/gen_new_group.c
+++ b/test/gen_new_group.c
@@ -57,8 +57,8 @@ int main(void)
/* Copy the file access property list */
if((fapl = H5Pcreate(H5P_FILE_ACCESS)) < 0) goto error;
- /* Set the "use the latest version of the format" flag for creating objects in the file */
- if(H5Pset_latest_format(fapl, TRUE) < 0) goto error;
+ /* Set the "use the latest version of the format" bounds for creating objects in the file */
+ if(H5Pset_format_bounds(fapl, H5F_FORMAT_LATEST, H5F_FORMAT_LATEST) < 0) goto error;
/* Create file for test groups */
if((fid = H5Fcreate(FILENAME, H5F_ACC_TRUNC, fcpl, fapl)) <0) goto error;