diff options
author | hdftest <hdftest@hdfgroup.org> | 2018-12-12 17:30:05 (GMT) |
---|---|---|
committer | hdftest <hdftest@hdfgroup.org> | 2018-12-12 17:30:05 (GMT) |
commit | afdf3094cc6577bacd004f2cb4b553b63bf503f7 (patch) | |
tree | 61424f9dd2d9992cccd4c047f450def9930dd6db | |
parent | 8822bc3c4128ba4e134dfbb4e1ed2d942dad4cb4 (diff) | |
parent | deb7d2fb9714acc8222815328f71b0aae7e74275 (diff) | |
download | hdf5-afdf3094cc6577bacd004f2cb4b553b63bf503f7.zip hdf5-afdf3094cc6577bacd004f2cb4b553b63bf503f7.tar.gz hdf5-afdf3094cc6577bacd004f2cb4b553b63bf503f7.tar.bz2 |
Merge pull request #1367 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'deb7d2fb9714acc8222815328f71b0aae7e74275':
Use version 2 functions in test file to address compile errors for --with-default-api-version=v16 option.
-rw-r--r-- | test/tvlstr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tvlstr.c b/test/tvlstr.c index 68d1070..da6195c 100644 --- a/test/tvlstr.c +++ b/test/tvlstr.c @@ -880,7 +880,7 @@ static void test_write_same_element(void) fspace = H5Screate_simple(SPACE1_RANK, fdim, NULL); CHECK(fspace, FAIL, "H5Screate_simple"); - dataset1 = H5Dcreate(file1, DATASET, dtype, fspace, H5P_DEFAULT, + dataset1 = H5Dcreate2(file1, DATASET, dtype, fspace, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); CHECK(dataset1, FAIL, "H5Dcreate"); @@ -905,7 +905,7 @@ static void test_write_same_element(void) file1 = H5Fopen(DATAFILE3, H5F_ACC_RDWR, H5P_DEFAULT); CHECK(file1, FAIL, "H5Fopen"); - dataset1 = H5Dopen(file1, DATASET, H5P_DEFAULT); + dataset1 = H5Dopen2(file1, DATASET, H5P_DEFAULT); CHECK(dataset1, FAIL, "H5Dopen"); fspace = H5Dget_space(dataset1); |