summaryrefslogtreecommitdiffstats
path: root/testpar/t_file_image.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2012-04-03 21:42:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2012-04-03 21:42:18 (GMT)
commit2bd76c2d86f5b048ffaf356f047312c241ce733d (patch)
tree629ddf2f7ea94b71398aa5e043f461e4eec042ea /testpar/t_file_image.c
parent2c75e81cde93cf0aaea839978ae6dd8538915fa7 (diff)
downloadhdf5-2bd76c2d86f5b048ffaf356f047312c241ce733d.zip
hdf5-2bd76c2d86f5b048ffaf356f047312c241ce733d.tar.gz
hdf5-2bd76c2d86f5b048ffaf356f047312c241ce733d.tar.bz2
[svn-r22244] Description:
Correct use of deprecated API routines in test routine. Tested on: FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (ostrich) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-ia64 2.6 (ember) w/Intel compilers, w/C++ & FORTRAN, in production mode Mac OS X/32 10.6.8 (amazon) in debug mode Mac OS X/32 10.6.8 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
Diffstat (limited to 'testpar/t_file_image.c')
-rw-r--r--testpar/t_file_image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testpar/t_file_image.c b/testpar/t_file_image.c
index d265957..544ba32 100644
--- a/testpar/t_file_image.c
+++ b/testpar/t_file_image.c
@@ -209,7 +209,7 @@ file_image_daisy_chain_test(void)
file_id = H5Fopen(file_name, H5F_ACC_RDWR, fapl_id);
VRFY((file_id >= 0), "opened received file image file");
- dset_id = H5Dopen1(file_id, "v");
+ dset_id = H5Dopen2(file_id, "v", H5P_DEFAULT);
VRFY((dset_id >= 0), "opened data set");
dset_type_id = H5Dget_type(dset_id);
@@ -290,10 +290,10 @@ file_image_daisy_chain_test(void)
VRFY((err >= 0), "set file image in fapl.");
file_id = H5Fopen(file_name, H5F_ACC_RDWR, fapl_id);
- H5Eprint1(stderr);
+ H5Eprint2(H5P_DEFAULT, stderr);
VRFY((file_id >= 0), "opened received file image file");
- dset_id = H5Dopen1(file_id, "v");
+ dset_id = H5Dopen2(file_id, "v", H5P_DEFAULT);
VRFY((dset_id >= 0), "opened data set");
dset_type_id = H5Dget_type(dset_id);