diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-11-21 16:59:04 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-11-21 16:59:04 (GMT) |
commit | 3c4b17719895c8737439ad34f7630a0cf376cf49 (patch) | |
tree | 6db9f49b2a5ac1e809f0338a717bb51efb4d6d0a /tools | |
parent | 3aa3af4fb6a4c4fe9c5b69306a31ee1fc1ed1bf6 (diff) | |
download | hdf5-3c4b17719895c8737439ad34f7630a0cf376cf49.zip hdf5-3c4b17719895c8737439ad34f7630a0cf376cf49.tar.gz hdf5-3c4b17719895c8737439ad34f7630a0cf376cf49.tar.bz2 |
[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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lib/h5diff_attr.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |