diff options
author | John Mainzer <mainzer@hdfgroup.org> | 2010-10-19 21:18:47 (GMT) |
---|---|---|
committer | John Mainzer <mainzer@hdfgroup.org> | 2010-10-19 21:18:47 (GMT) |
commit | b6b910bc6e6ecce9cf1f947c00af37d1ea768fc2 (patch) | |
tree | 286525391e2c4e46592cbc9b7e4ee5764915af81 /testpar/t_mdset.c | |
parent | 758b64c580670f7065da7a12355f4bbe18129686 (diff) | |
download | hdf5-b6b910bc6e6ecce9cf1f947c00af37d1ea768fc2.zip hdf5-b6b910bc6e6ecce9cf1f947c00af37d1ea768fc2.tar.gz hdf5-b6b910bc6e6ecce9cf1f947c00af37d1ea768fc2.tar.bz2 |
[svn-r19647]
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.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c index 80e2abf..03bb77a 100644 --- a/testpar/t_mdset.c +++ b/testpar/t_mdset.c @@ -1832,7 +1832,7 @@ 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, + 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"); |