diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2012-12-14 15:42:18 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2012-12-14 15:42:18 (GMT) |
commit | cf823b47edf7e28d13a10802a797c6aa6bdf9f47 (patch) | |
tree | dfe0c18af4e413ce914ba65126923b618d7af71e /hl | |
parent | 6050e7814364a78fc6d196c5b6a6e4b6e4d274ca (diff) | |
download | hdf5-cf823b47edf7e28d13a10802a797c6aa6bdf9f47.zip hdf5-cf823b47edf7e28d13a10802a797c6aa6bdf9f47.tar.gz hdf5-cf823b47edf7e28d13a10802a797c6aa6bdf9f47.tar.bz2 |
[svn-r23103] I changed the H5Dopen in hl/test/dectris_hl_perf.c and perform/dectris_perf.c to H5Dopen2.
Tested on Koala.
Diffstat (limited to 'hl')
-rw-r--r-- | hl/test/dectris_hl_perf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hl/test/dectris_hl_perf.c b/hl/test/dectris_hl_perf.c index c18fe1c..a3e382a 100644 --- a/hl/test/dectris_hl_perf.c +++ b/hl/test/dectris_hl_perf.c @@ -278,7 +278,7 @@ test_direct_write_uncompressed_data(hid_t fapl_id) if((file = H5Fopen(filename, H5F_ACC_RDWR, fapl_id)) < 0) TEST_ERROR; - if((dataset = H5Dopen(file, DIRECT_UNCOMPRESSED_DSET, H5P_DEFAULT)) < 0) + if((dataset = H5Dopen2(file, DIRECT_UNCOMPRESSED_DSET, H5P_DEFAULT)) < 0) TEST_ERROR; @@ -343,7 +343,7 @@ test_direct_write_compressed_data(hid_t fapl_id) if((file = H5Fopen(filename, H5F_ACC_RDWR, fapl_id)) < 0) TEST_ERROR; - if((dataset = H5Dopen(file, DIRECT_COMPRESSED_DSET, H5P_DEFAULT)) < 0) + if((dataset = H5Dopen2(file, DIRECT_COMPRESSED_DSET, H5P_DEFAULT)) < 0) TEST_ERROR; @@ -414,7 +414,7 @@ test_compressed_write(hid_t fapl_id) if((file = H5Fopen(filename, H5F_ACC_RDWR, fapl_id)) < 0) TEST_ERROR; - if((dataset = H5Dopen(file, REG_COMPRESSED_DSET, H5P_DEFAULT)) < 0) + if((dataset = H5Dopen2(file, REG_COMPRESSED_DSET, H5P_DEFAULT)) < 0) TEST_ERROR; if((dataspace = H5Dget_space(dataset)) < 0) @@ -502,7 +502,7 @@ test_no_compress_write(hid_t fapl_id) if((file = H5Fopen(filename, H5F_ACC_RDWR, fapl_id)) < 0) TEST_ERROR; - if((dataset = H5Dopen(file, REG_NO_COMPRESS_DSET, H5P_DEFAULT)) < 0) + if((dataset = H5Dopen2(file, REG_NO_COMPRESS_DSET, H5P_DEFAULT)) < 0) TEST_ERROR; if((dataspace = H5Dget_space(dataset)) < 0) |