mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[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:
parent
231fc4d781
commit
bb11cbee94
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user