summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2009-01-27 15:33:17 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2009-01-27 15:33:17 (GMT)
commita6dcbd6a0ffbc17179b83e0910aca3e78b9b706a (patch)
tree37289d81b4bbf9ed2f4c6acb1931eaa33003a715
parent5cd054dd5c1270a4f6e344ffdb99e8e6e4e1eb71 (diff)
downloadhdf5-a6dcbd6a0ffbc17179b83e0910aca3e78b9b706a.zip
hdf5-a6dcbd6a0ffbc17179b83e0910aca3e78b9b706a.tar.gz
hdf5-a6dcbd6a0ffbc17179b83e0910aca3e78b9b706a.tar.bz2
[svn-r16358] bug fix
a new line was not inserted at the end of output, causing diff to complain between linux and frebsd tested: linux , freebsd
-rw-r--r--tools/h5diff/testfiles/h5diff_203.txt2
-rw-r--r--tools/h5diff/testfiles/h5diff_204.txt2
-rw-r--r--tools/h5diff/testfiles/h5diff_205.txt3
-rw-r--r--tools/lib/h5diff_dset.c2
4 files changed, 6 insertions, 3 deletions
diff --git a/tools/h5diff/testfiles/h5diff_203.txt b/tools/h5diff/testfiles/h5diff_203.txt
index ee87879..aea1891 100644
--- a/tools/h5diff/testfiles/h5diff_203.txt
+++ b/tools/h5diff/testfiles/h5diff_203.txt
@@ -1,2 +1,2 @@
</g2/dset3> has rank 1, dimensions [6], max dimensions [6]
-</g2/dset4> has rank 2, dimensions [3x2], max dimensions [3x2] \ No newline at end of file
+</g2/dset4> has rank 2, dimensions [3x2], max dimensions [3x2]
diff --git a/tools/h5diff/testfiles/h5diff_204.txt b/tools/h5diff/testfiles/h5diff_204.txt
index 8dcb2ce..66b9e63 100644
--- a/tools/h5diff/testfiles/h5diff_204.txt
+++ b/tools/h5diff/testfiles/h5diff_204.txt
@@ -1,2 +1,2 @@
</g2/dset4> has rank 2, dimensions [3x2], max dimensions [3x2]
-</g2/dset5> has rank 2, dimensions [2x2], max dimensions [2x2] \ No newline at end of file
+</g2/dset5> has rank 2, dimensions [2x2], max dimensions [2x2]
diff --git a/tools/h5diff/testfiles/h5diff_205.txt b/tools/h5diff/testfiles/h5diff_205.txt
index a934e7c..f7360ab 100644
--- a/tools/h5diff/testfiles/h5diff_205.txt
+++ b/tools/h5diff/testfiles/h5diff_205.txt
@@ -1,2 +1,3 @@
</g2/dset5> has rank 2, dimensions [2x2], max dimensions [2x2]
-</g2/dset6> has rank 2, dimensions [3x2], max dimensions [3x2]</g2/dset5> has sign H5T_SGN_2 and </g2/dset6> has sign H5T_SGN_NONE
+</g2/dset6> has rank 2, dimensions [3x2], max dimensions [3x2]
+</g2/dset5> has sign H5T_SGN_2 and </g2/dset6> has sign H5T_SGN_NONE
diff --git a/tools/lib/h5diff_dset.c b/tools/lib/h5diff_dset.c
index d36c65c..1a5778a 100644
--- a/tools/lib/h5diff_dset.c
+++ b/tools/lib/h5diff_dset.c
@@ -776,6 +776,7 @@ int diff_can_type( hid_t f_tid1, /* file data type */
print_dimensions(rank2,dims2);
parallel_print(", max dimensions ");
print_dimensions(rank2,maxdim2);
+ parallel_print("\n");
}
can_compare = 0;
@@ -820,6 +821,7 @@ int diff_can_type( hid_t f_tid1, /* file data type */
print_dimensions(rank2,dims2);
parallel_print(", max dimensions ");
print_dimensions(rank2,maxdim2);
+ parallel_print("\n");
}
}