mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-06 14:56:51 +08:00
140dfae48a
bug fixes Description: the return error code for a function was not initialized. in HP-UX it happened that this variable was initialized to -1 causing the function to return with an error condtion solution : initialized the variable to 0 the name of the dataset was printed after the differences in verbose mode and report when differences were found solution : check first if differences were found and then print the name of dataset and differences in verbose mode always print the name first Solution: Platforms tested: linux aix solaris Misc. update:
12 lines
561 B
Plaintext
12 lines
561 B
Plaintext
#############################
|
|
Expected output for 'h5diff file1.h5 file2.h5 -r'
|
|
#############################
|
|
Dataset: </g1/dset1> and </g1/dset1>
|
|
position dset1 dset1 difference
|
|
------------------------------------------------------------
|
|
[ 0 1 ] 1.000000 1.100000 0.100000
|
|
[ 1 0 ] 1.000000 1.010000 0.010000
|
|
[ 1 1 ] 1.000000 1.001000 0.001000
|
|
[ 2 0 ] 1.000000 1.000100 0.000100
|
|
4 differences found
|