diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2012-04-03 21:51:00 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2012-04-03 21:51:00 (GMT) |
commit | 96f9feec9b42248505bdc2ba45b57f62955be2da (patch) | |
tree | f62567a115df7a9058222753939104e6fb817941 /testpar | |
parent | 177cbf2b9bf6e0083f78e8493be88918ab9c3504 (diff) | |
download | hdf5-96f9feec9b42248505bdc2ba45b57f62955be2da.zip hdf5-96f9feec9b42248505bdc2ba45b57f62955be2da.tar.gz hdf5-96f9feec9b42248505bdc2ba45b57f62955be2da.tar.bz2 |
[svn-r22245] Description:
Bring r22244 from trunk to 1.8 branch:
Correct use of deprecated API routines in test routine.
Tested on:
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, parallel,
in production mode
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_file_image.c | 6 |
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); |