summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRay Lu <songyulu@hdfgroup.org>2019-02-13 22:06:38 (GMT)
committerRay Lu <songyulu@hdfgroup.org>2019-02-13 22:06:38 (GMT)
commit0527ced1c7eb3f7ae8f43c0c705a1cb73539bd35 (patch)
tree8f66654fbce0167c918692f6e364928999cfe146
parent6721c0f1317e8ed74bd56b7f4b3f8972ab277845 (diff)
parentdfedd864335fab2a676357c6647bd09aeb26575d (diff)
downloadhdf5-0527ced1c7eb3f7ae8f43c0c705a1cb73539bd35.zip
hdf5-0527ced1c7eb3f7ae8f43c0c705a1cb73539bd35.tar.gz
hdf5-0527ced1c7eb3f7ae8f43c0c705a1cb73539bd35.tar.bz2
Merge pull request #1541 in HDFFV/hdf5 from ~SONGYULU/hdf5_ray:1_10/HDFFV-10601-issues-with-chunk-cache-hash to hdf5_1_10
* commit 'dfedd864335fab2a676357c6647bd09aeb26575d': Changing functions H5Dcreate and H5Dopen to H5Dcreate2 and H5Dopen2 for backward compatibility.
-rw-r--r--test/tvlstr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tvlstr.c b/test/tvlstr.c
index 58713e7..2c552eb 100644
--- a/test/tvlstr.c
+++ b/test/tvlstr.c
@@ -880,9 +880,9 @@ 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");
+ CHECK(dataset1, FAIL, "H5Dcreate2");
ret = H5Dwrite(dataset1, dtype, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata);
CHECK(ret, FAIL, "H5Dwrite");
@@ -905,8 +905,8 @@ 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);
- CHECK(dataset1, FAIL, "H5Dopen");
+ dataset1 = H5Dopen2(file1, DATASET, H5P_DEFAULT);
+ CHECK(dataset1, FAIL, "H5Dopen2");
fspace = H5Dget_space(dataset1);
CHECK(fspace, FAIL, "H5Dget_space");