mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
bug fix Description: the signed / unsigned comparison was not properly handled. the fixtype function sets the sign for the memory type the same sign as found on disk and the array_diff function only handled signed cases Solution: addded for each INTEGER size type an OR condition with the unsigned version if the datatypes have different signs , comparison is NOT supported Platforms tested: Windows 2000 (octopus) Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
12 lines
366 B
Plaintext
12 lines
366 B
Plaintext
#############################
|
|
Expected output for 'h5diff file6.h5 file6.h5 dset7a dset7b'
|
|
#############################
|
|
$h5diff file6.h5 file6.h5 dset7a dset7b
|
|
Warning: Different storage datatype
|
|
</dset7a> has file datatype H5T_STD_I8LE
|
|
</dset7b> has file datatype H5T_STD_U8LE
|
|
Comparison not supported
|
|
</dset7a> has sign H5T_SGN_2
|
|
</dset7b> has sign H5T_SGN_NONE
|
|
|