[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)
This commit is contained in:
Jonathan Kim 2012-08-16 10:50:25 -05:00
parent 231fc4d781
commit bb11cbee94

View File

@ -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);