diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-01-03 13:55:39 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-01-03 13:55:39 (GMT) |
commit | 35694d44ae9aedaeed71850222ce014606ed3572 (patch) | |
tree | def0459f6df031c609a9c83d0cebe576ccc0551e /tools | |
parent | 23c1eb4a6cdbc6fe782c8746eb40a7e54c8a7e42 (diff) | |
download | hdf5-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 'tools')
-rw-r--r-- | tools/h5repack/h5repack_copy.c | 2 | ||||
-rw-r--r-- | tools/h5stat/h5stat_gentest.c | 2 | ||||
-rw-r--r-- | tools/misc/h5mkgrp.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c index 2504a96..870bcaa 100644 --- a/tools/h5repack/h5repack_copy.c +++ b/tools/h5repack/h5repack_copy.c @@ -176,7 +176,7 @@ int copy_objects(const char* fnamein, goto out; } /* end if */ - if(H5Pset_latest_format(fapl, TRUE) < 0) { + if(H5Pset_format_bounds(fapl, H5F_FORMAT_LATEST, H5F_FORMAT_LATEST) < 0) { error_msg(progname, "Could not set property for using latest version of the format\n"); goto out; } /* end if */ diff --git a/tools/h5stat/h5stat_gentest.c b/tools/h5stat/h5stat_gentest.c index 22396b6..bf10632 100644 --- a/tools/h5stat/h5stat_gentest.c +++ b/tools/h5stat/h5stat_gentest.c @@ -46,7 +46,7 @@ static void gen_file(void) char attrname[30]; fapl = H5Pcreate(H5P_FILE_ACCESS); - ret = H5Pset_latest_format(fapl, 1); + ret = H5Pset_format_bounds(fapl, H5F_FORMAT_LATEST, H5F_FORMAT_LATEST); /* Create dataset */ file = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, fapl); diff --git a/tools/misc/h5mkgrp.c b/tools/misc/h5mkgrp.c index c39d07b..6de00f7 100644 --- a/tools/misc/h5mkgrp.c +++ b/tools/misc/h5mkgrp.c @@ -233,8 +233,8 @@ main(int argc, const char *argv[]) /* Check for creating groups with new format version */ if(params.latest) { - /* Set the "use the latest version of the format flag */ - if(H5Pset_latest_format(fapl_id, TRUE) < 0) { + /* Set the "use the latest version of the format" bounds */ + if(H5Pset_format_bounds(fapl_id, H5F_FORMAT_LATEST, H5F_FORMAT_LATEST) < 0) { error_msg(progname, "Could not set property for using latest version of the format\n"); leave(EXIT_FAILURE); } /* end if */ |