diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-23 20:25:25 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-23 20:25:25 (GMT) |
commit | 63eb5b9ebbf4b9d63ee9173fec73027a0da1e33e (patch) | |
tree | f0947a1f2d2d60d55935f092cbb7071b4e62b301 /test/titerate.c | |
parent | 3183d38231c3d2de3dd9e18abac1e753ca727013 (diff) | |
download | hdf5-63eb5b9ebbf4b9d63ee9173fec73027a0da1e33e.zip hdf5-63eb5b9ebbf4b9d63ee9173fec73027a0da1e33e.tar.gz hdf5-63eb5b9ebbf4b9d63ee9173fec73027a0da1e33e.tar.bz2 |
[svn-r14104] Description:
Pursue calls to H5Gcreate() relentlessly and ruthlessly exterminate
them, leaving only a few tame specimens in text files and comments. ;-)
Tested on:
Mac OS X/32 10.4.10 (amazon)
FreeBSD/32 6.2 (duty)
FreeBSD/64 6.2 (liberty)
Linux/32 2.6 (kagiso)
Linux/64 2.6 (smirom)
Solaris/32 5.10 (linew)
Diffstat (limited to 'test/titerate.c')
-rw-r--r-- | test/titerate.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/titerate.c b/test/titerate.c index e60d98a..5fc568f 100644 --- a/test/titerate.c +++ b/test/titerate.c @@ -165,8 +165,8 @@ static void test_iter_group(hid_t fapl, hbool_t new_format) /* Create a group and named datatype under root group for testing * H5Gget_objtype_by_idx. */ - grp = H5Gcreate(file, "grp", (size_t)0); - CHECK(ret, FAIL, "H5Gcreate"); + grp = H5Gcreate2(file, "grp", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); + CHECK(ret, FAIL, "H5Gcreate2"); lnames[NDATASETS] = HDstrdup("grp"); CHECK(lnames[NDATASETS], NULL, "strdup"); @@ -611,8 +611,8 @@ static void test_iter_group_large(hid_t fapl) names[i].type = H5G_GROUP; /* Create a group */ - group = H5Gcreate(file, gname, (size_t)0); - CHECK(group, FAIL, "H5Gcreate"); + group = H5Gcreate2(file, gname, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); + CHECK(group, FAIL, "H5Gcreate2"); /* Close a group */ ret = H5Gclose(group); @@ -730,8 +730,8 @@ static void test_grp_memb_funcs(hid_t fapl) /* Create a group and named datatype under root group for testing * H5Gget_objtype_by_idx. */ - grp = H5Gcreate(file, "grp", (size_t)0); - CHECK(ret, FAIL, "H5Gcreate"); + grp = H5Gcreate2(file, "grp", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); + CHECK(ret, FAIL, "H5Gcreate2"); dnames[NDATASETS] = HDstrdup("grp"); CHECK(dnames[NDATASETS], NULL, "strdup"); @@ -852,11 +852,11 @@ static void test_links(hid_t fapl) CHECK(file, FAIL, "H5Fcreate"); /* create groups */ - gid = H5Gcreate(file, "/g1", (size_t)0); - CHECK(gid, FAIL, "H5Gcreate"); + gid = H5Gcreate2(file, "/g1", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); + CHECK(gid, FAIL, "H5Gcreate2"); - gid1 = H5Gcreate(file, "/g1/g1.1", (size_t)0); - CHECK(gid1, FAIL, "H5Gcreate"); + gid1 = H5Gcreate2(file, "/g1/g1.1", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); + CHECK(gid1, FAIL, "H5Gcreate2"); /* create soft and hard links to the group "/g1". */ ret = H5Glink (gid, H5L_TYPE_SOFT, "something", "softlink"); |