summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-04-07 15:53:35 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-04-07 15:53:35 (GMT)
commit59f29fa02f3fd04a94afaf8069d73cae35a4a7e6 (patch)
tree5868beff32314462b534d797d80872e61d220a57 /tools/lib
parent7c6a99f05cbc16db5dd3d99140cf0737e18d1db2 (diff)
downloadhdf5-59f29fa02f3fd04a94afaf8069d73cae35a4a7e6.zip
hdf5-59f29fa02f3fd04a94afaf8069d73cae35a4a7e6.tar.gz
hdf5-59f29fa02f3fd04a94afaf8069d73cae35a4a7e6.tar.bz2
[svn-r14802] bug fix: #1106 h5dump -b will dump ASCII values for datasets after the first one. One variable that controls the binary output was incorrectly reset to zero after a binary output was done a first time. The effect was that on cases of several datasets, the ones after the first were not binary written. Eliminated the resetting of that variable and tested a file with several datasets. Modified the test file so that it is easier to test with the tool binread, that reads the binary output of h5dump.
tested: windows, linux
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/h5tools.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index 6fc09d7..3e407e6 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -557,7 +557,6 @@ h5tools_dump_simple_data(FILE *stream, const h5tool_format_t *info, hid_t contai
/* binary dump */
if(bin_output) {
do_bin_output(stream, nelmts, type, _mem);
- bin_output = 0;
} /* end if */
else {
/* Setup */