From 097ae3ae4bcaadc96d8f8313aac4c1f9c7172378 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 7 Sep 2009 02:51:08 -0500 Subject: [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). --- tools/h5dump/h5dumpgentest.c | 4 ++-- 1 file 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); -- cgit v0.12