From bb11cbee94fa5d32cfd1ebdffa45132a411adf91 Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Thu, 16 Aug 2012 10:50:25 -0500 Subject: [svn-r22691] Purpose: HDFFV-7942 - h5diff: incorrect result for comparing attribute data with different type size in same class Description: This is additional fix due to daily build fail against previous r22684. Refer to the svn -r22684 log for previous details Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), cmake (jam) --- tools/h5diff/h5diffgentest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/h5diff/h5diffgentest.c b/tools/h5diff/h5diffgentest.c index a1bf0b5..7c69154 100644 --- a/tools/h5diff/h5diffgentest.c +++ b/tools/h5diff/h5diffgentest.c @@ -889,12 +889,12 @@ int test_datatypes(const char *fname) *------------------------------------------------------------------------- */ write_dset(fid1,2,dims,"dset11a",H5T_STD_U16LE,buf11a); - dset=H5Dopen (fid1, "dset11a", H5P_DEFAULT); + dset=H5Dopen2 (fid1, "dset11a", H5P_DEFAULT); write_attr(dset,2,dims,"attr",H5T_STD_U16LE,buf11a); H5Dclose (dset); write_dset(fid1,2,dims,"dset11b",H5T_STD_U32LE,buf11b); - dset=H5Dopen (fid1, "dset11b", H5P_DEFAULT); + dset=H5Dopen2 (fid1, "dset11b", H5P_DEFAULT); write_attr(dset,2,dims,"attr",H5T_STD_U32LE,buf11b); H5Dclose (dset); -- cgit v0.12