diff options
author | James Laird <jlaird@hdfgroup.org> | 2006-08-03 17:44:16 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2006-08-03 17:44:16 (GMT) |
commit | fb4711f6ddcfc31b9db9b223759c0300223ab020 (patch) | |
tree | e1a6e53502c8cfe5490a84d6f2994ab7a5d551ef | |
parent | 3e755623cb24eb37c19fa645d74dc46948318253 (diff) | |
download | hdf5-fb4711f6ddcfc31b9db9b223759c0300223ab020.zip hdf5-fb4711f6ddcfc31b9db9b223759c0300223ab020.tar.gz hdf5-fb4711f6ddcfc31b9db9b223759c0300223ab020.tar.bz2 |
[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!
-rw-r--r-- | test/links.c | 2 | ||||
-rw-r--r-- | 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); |