summaryrefslogtreecommitdiffstats
path: root/testpar/t_mdset.c
diff options
context:
space:
mode:
authorJohn Mainzer <mainzer@hdfgroup.org>2010-10-19 21:18:14 (GMT)
committerJohn Mainzer <mainzer@hdfgroup.org>2010-10-19 21:18:14 (GMT)
commit3f74a217d04fc133a640cc1928fb97d3b6b696e5 (patch)
treeb7f146195ac18a60ff077a77eb080aab83332b5c /testpar/t_mdset.c
parentf79519db29580a39db0e5eb2dddd1bac643e3129 (diff)
downloadhdf5-3f74a217d04fc133a640cc1928fb97d3b6b696e5.zip
hdf5-3f74a217d04fc133a640cc1928fb97d3b6b696e5.tar.gz
hdf5-3f74a217d04fc133a640cc1928fb97d3b6b696e5.tar.bz2
[svn-r19646]
Replaced calls to H5Dcreate() and H5Acreate() with calls to H5Dcreate2() and H5Acreate2() respectively in t_mdset.c. This was done to repair a compile failure that occured on a build with the --with-default-api-version=v16 config option Cursory commit test
Diffstat (limited to 'testpar/t_mdset.c')
-rw-r--r--testpar/t_mdset.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c
index 80e2abf..841d0b1 100644
--- a/testpar/t_mdset.c
+++ b/testpar/t_mdset.c
@@ -1832,8 +1832,8 @@ void rr_obj_hdr_flush_confusion(void)
disk_space[i] = H5Screate_simple(1, disk_size, NULL);
VRFY((disk_space[i] >= 0), "H5Screate_simple(1) failed.\n");
- dataset[i] = H5Dcreate(file_id, dataset_name[i], H5T_NATIVE_DOUBLE,
- disk_space[i], H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
+ dataset[i] = H5Dcreate2(file_id, dataset_name[i], H5T_NATIVE_DOUBLE,
+ disk_space[i], H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
VRFY((dataset[i] >= 0), "H5Dcreate(1) failed.\n");
}
@@ -1936,8 +1936,8 @@ void rr_obj_hdr_flush_confusion(void)
att_space[i] = H5Screate_simple(1, att_size, NULL);
VRFY((att_space[i] >= 0), "H5Screate_simple(3) failed.\n");
- att_id[i] = H5Acreate(dataset[i], att_name[i], H5T_NATIVE_DOUBLE,
- att_space[i], H5P_DEFAULT, H5P_DEFAULT);
+ att_id[i] = H5Acreate2(dataset[i], att_name[i], H5T_NATIVE_DOUBLE,
+ att_space[i], H5P_DEFAULT, H5P_DEFAULT);
VRFY((att_id[i] >= 0), "H5Acreate(1) failed.\n");
@@ -1998,8 +1998,8 @@ void rr_obj_hdr_flush_confusion(void)
lg_att_space[i] = H5Screate_simple(1, lg_att_size, NULL);
VRFY((lg_att_space[i] >= 0), "H5Screate_simple(4) failed.\n");
- lg_att_id[i] = H5Acreate(dataset[i], lg_att_name[i], H5T_NATIVE_DOUBLE,
- lg_att_space[i], H5P_DEFAULT, H5P_DEFAULT);
+ lg_att_id[i] = H5Acreate2(dataset[i], lg_att_name[i], H5T_NATIVE_DOUBLE,
+ lg_att_space[i], H5P_DEFAULT, H5P_DEFAULT);
VRFY((lg_att_id[i] >= 0), "H5Acreate(2) failed.\n");