From fb4711f6ddcfc31b9db9b223759c0300223ab020 Mon Sep 17 00:00:00 2001 From: James Laird Date: Thu, 3 Aug 2006 12:44:16 -0500 Subject: [svn-r12529] Fixed a couple of bugs that were causing trouble for Windows builds (not sure why they weren't on other systems). Thanks, Kent! --- test/links.c | 2 +- tools/h5dump/h5dumpgentest.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/links.c b/test/links.c index 92f4984..68954ca 100644 --- a/test/links.c +++ b/test/links.c @@ -516,7 +516,7 @@ toomany(hid_t fapl) /* XXX: should probably make a "generic" test that creates the proper * # of links based on this value - QAK */ - HDassert(H5G_NLINKS == 16); + HDassert(H5L_NLINKS_DEF == 16); /* Create file */ h5_fixname(FILENAME[1], fapl, filename, sizeof filename); diff --git a/tools/h5dump/h5dumpgentest.c b/tools/h5dump/h5dumpgentest.c index 3a5272a..09328f0 100644 --- a/tools/h5dump/h5dumpgentest.c +++ b/tools/h5dump/h5dumpgentest.c @@ -5478,11 +5478,11 @@ static void gent_longlinks(void) objname[F51_MAX_NAME_LEN] = '\0'; /* Create hard link to existing object */ - assert(H5Lcreate_hard(fid, "grp1", fid, objname, H5P_DEFAULT) >= 0); + assert(H5Lcreate_hard(fid, "grp1", fid, objname, H5P_DEFAULT, H5P_DEFAULT) >= 0); /* Create soft link to existing object */ objname[0] = 'b'; - assert(H5Lcreate_soft("grp1", fid, objname, H5P_DEFAULT) >= 0); + assert(H5Lcreate_soft("grp1", fid, objname, H5P_DEFAULT, H5P_DEFAULT) >= 0); /* Create group with long name in existing group */ gid2=H5Gcreate(gid, objname, (size_t)0); -- cgit v0.12