summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-11-13 16:45:08 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-11-13 16:45:08 (GMT)
commit0426a9ff069074e06a1f3a8a53319b2abc026370 (patch)
tree259830d2a0ce4524238a3db3f4e8fd6586a6539c /tools
parentc9300fbde03839e8ccaaf11d5e79f3f8d491c753 (diff)
downloadhdf5-0426a9ff069074e06a1f3a8a53319b2abc026370.zip
hdf5-0426a9ff069074e06a1f3a8a53319b2abc026370.tar.gz
hdf5-0426a9ff069074e06a1f3a8a53319b2abc026370.tar.bz2
[svn-r16073] For scalar string datasets print the character position when a difference is found instead of a non-existing array position
Tested: windows, linux
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5diff_array.c3
-rw-r--r--tools/lib/h5diff_util.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/lib/h5diff_array.c b/tools/lib/h5diff_array.c
index 2476aaf..df19ece 100644
--- a/tools/lib/h5diff_array.c
+++ b/tools/lib/h5diff_array.c
@@ -20,6 +20,7 @@
#include "h5tools.h"
+
#include <sys/timeb.h>
#include <time.h>
@@ -5695,4 +5696,4 @@ static void h5diff_print_char(char ch)
break;
}
-} \ No newline at end of file
+}
diff --git a/tools/lib/h5diff_util.c b/tools/lib/h5diff_util.c
index c84173d..423cb74 100644
--- a/tools/lib/h5diff_util.c
+++ b/tools/lib/h5diff_util.c
@@ -19,6 +19,7 @@
#include "h5tools.h"
+
/* global variables */
int g_nTasks = 1;
unsigned char g_Parallel = 0; /*0 for serial, 1 for parallel */