From 3c4b17719895c8737439ad34f7630a0cf376cf49 Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Wed, 21 Nov 2007 11:59:04 -0500 Subject: [svn-r14279] bug fix: when it's not possible to compare attributes due to different lenght in its type, make the options be flaged with the "not comparable" flag tested: windows, linux --- tools/lib/h5diff_attr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/lib/h5diff_attr.c b/tools/lib/h5diff_attr.c index 9917df7..d53b656 100644 --- a/tools/lib/h5diff_attr.c +++ b/tools/lib/h5diff_attr.c @@ -176,6 +176,8 @@ hsize_t diff_attr(hid_t loc1_id, if (options->m_verbose) printf("Comparison not possible: different string sizes for attribute <%s>\n", name1); + + options->not_cmp=1; continue; -- cgit v0.12