mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r29295] Replaced H5Acreate with H5Acreate2 in hl/test/test_packet_vlen.c line 758 to eliminate error with configure option --wit-default-api-version=v16.
Tested with option and h5committest.new.
This commit is contained in:
parent
a6c9f83aee
commit
f83c88d9ae
@ -758,7 +758,7 @@ static int adding_attribute(hid_t fid, const char *table_name, const char *attr_
|
||||
goto error;
|
||||
|
||||
/* Add the specified attribute to it */
|
||||
attr_id = H5Acreate(dset_id, attr_name, H5T_NATIVE_INT, space_id, H5P_DEFAULT, H5P_DEFAULT);
|
||||
attr_id = H5Acreate2(dset_id, attr_name, H5T_NATIVE_INT, space_id, H5P_DEFAULT, H5P_DEFAULT);
|
||||
if (attr_id < 0)
|
||||
goto error;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user