diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2009-09-07 07:51:08 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2009-09-07 07:51:08 (GMT) |
commit | 097ae3ae4bcaadc96d8f8313aac4c1f9c7172378 (patch) | |
tree | 192a3ecd5e6547731f53e20e4b494040f1053c2f /tools | |
parent | c1f98f4763d0eda4e511ca106c2d6103b84b752d (diff) | |
download | hdf5-097ae3ae4bcaadc96d8f8313aac4c1f9c7172378.zip hdf5-097ae3ae4bcaadc96d8f8313aac4c1f9c7172378.tar.gz hdf5-097ae3ae4bcaadc96d8f8313aac4c1f9c7172378.tar.bz2 |
[svn-r17454] Bug fix. (Daily test failure).
Generic function name is used but that would fail when v16API is used.
Changed the H5Dcreate() and H5Acreate() to v18 names as H5Dcreate2() and H5Acreate2().
tested: jam (regular and --with-default-api-version=v16).
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5dump/h5dumpgentest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5dump/h5dumpgentest.c b/tools/h5dump/h5dumpgentest.c index 77988f0..b8ed41d 100644 --- a/tools/h5dump/h5dumpgentest.c +++ b/tools/h5dump/h5dumpgentest.c @@ -1907,7 +1907,7 @@ static void gent_attrreg(void) * the attribute. */ sid1 = H5Screate (H5S_NULL); - dset1 = H5Dcreate (fid1, "Dataset1", H5T_STD_I32LE, sid1, H5P_DEFAULT, + dset1 = H5Dcreate2 (fid1, "Dataset1", H5T_STD_I32LE, sid1, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); H5Sclose (sid1); @@ -1947,7 +1947,7 @@ static void gent_attrreg(void) sid3 = H5Screate_simple(SPACE1_RANK, dims1, NULL); /* Create the attribute and write the region references to it. */ - attr1 = H5Acreate (dset1, "Attribute1", H5T_STD_REF_DSETREG, sid3, H5P_DEFAULT, + attr1 = H5Acreate2 (dset1, "Attribute1", H5T_STD_REF_DSETREG, sid3, H5P_DEFAULT, H5P_DEFAULT); H5Awrite (attr1, H5T_STD_REF_DSETREG, wbuf); |