From 0426a9ff069074e06a1f3a8a53319b2abc026370 Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Thu, 13 Nov 2008 11:45:08 -0500 Subject: [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 --- tools/lib/h5diff_array.c | 3 ++- tools/lib/h5diff_util.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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 #include @@ -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 */ -- cgit v0.12