summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_dump.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-02-18 20:56:21 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-02-18 20:56:21 (GMT)
commitaff5c20a6ae123dd4250ee46e1cdadbae00fd823 (patch)
tree9bc8c1e2c2cdf4227053fa6beedfe14fb4a9a1a2 /tools/lib/h5tools_dump.c
parentdbad502865d8817fe0db94dd6d6b9656ee257790 (diff)
downloadhdf5-aff5c20a6ae123dd4250ee46e1cdadbae00fd823.zip
hdf5-aff5c20a6ae123dd4250ee46e1cdadbae00fd823.tar.gz
hdf5-aff5c20a6ae123dd4250ee46e1cdadbae00fd823.tar.bz2
[svn-r23305] HDFFV-8257: szip still used even if headers are not found. Change configure to test the result of the CHECK HEADERS call before checking for the library.
Tested: local linux, h5committest
Diffstat (limited to 'tools/lib/h5tools_dump.c')
-rw-r--r--tools/lib/h5tools_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c
index f83c664..dbb5f98 100644
--- a/tools/lib/h5tools_dump.c
+++ b/tools/lib/h5tools_dump.c
@@ -302,7 +302,7 @@ h5tools_dump_simple_data(FILE *stream, const h5tool_format_t *info, hid_t contai
*/
curr_pos = ctx->sm_pos;
- if (region_output && H5Tequal(type, H5T_STD_REF_DSETREG)) {
+ if (region_output && (size == H5R_DSET_REG_REF_BUF_SIZE)) {
for (i = 0; i < nelmts; i++, ctx->cur_elmt++, elmt_counter++) {
void* memref = mem + i * size;
char ref_name[1024];