summaryrefslogtreecommitdiffstats
path: root/tools/h5diff
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2012-08-16 15:50:25 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2012-08-16 15:50:25 (GMT)
commitbb11cbee94fa5d32cfd1ebdffa45132a411adf91 (patch)
tree8fb0f52b706e18225ed0ad33d96edc1cf3ebeed0 /tools/h5diff
parent231fc4d7818c037844aa8adb9f514da8e6c37fa9 (diff)
downloadhdf5-bb11cbee94fa5d32cfd1ebdffa45132a411adf91.zip
hdf5-bb11cbee94fa5d32cfd1ebdffa45132a411adf91.tar.gz
hdf5-bb11cbee94fa5d32cfd1ebdffa45132a411adf91.tar.bz2
[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)
Diffstat (limited to 'tools/h5diff')
-rw-r--r--tools/h5diff/h5diffgentest.c4
1 files 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);