summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-04-03 21:07:27 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-04-03 21:07:27 (GMT)
commitc83dbd9c1869639721ca73df403fe3df98b21f09 (patch)
tree75d53e538068e415e10a95c88ea3f1aa01f204e6 /tools/lib/h5tools.c
parent04c174bde0e54b4432c0502f63b279731dda2559 (diff)
downloadhdf5-c83dbd9c1869639721ca73df403fe3df98b21f09.zip
hdf5-c83dbd9c1869639721ca73df403fe3df98b21f09.tar.gz
hdf5-c83dbd9c1869639721ca73df403fe3df98b21f09.tar.bz2
[svn-r14792] 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/h5tools.c')
-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 2565e0c..120d433 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -559,7 +559,6 @@ h5tools_dump_simple_data(FILE *stream, const h5tool_format_t *info, hid_t contai
if(bin_output)
{
do_bin_output(stream, nelmts, type, _mem);
- bin_output = 0;
} /* end if */
else
{