summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-05-01 20:58:18 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-05-01 20:58:18 (GMT)
commit4e243fd5e741fbdeaf92a484d52dbae4b0008268 (patch)
treea02e2185c25c0319361c6b922b5375c759defe43
parentfcb7783b529de0ca877c6ba648ae8f29d7fa43b5 (diff)
downloadhdf5-4e243fd5e741fbdeaf92a484d52dbae4b0008268.zip
hdf5-4e243fd5e741fbdeaf92a484d52dbae4b0008268.tar.gz
hdf5-4e243fd5e741fbdeaf92a484d52dbae4b0008268.tar.bz2
[svn-r13720]
Bug fix The parsing routine -b was not correctly affecting one of the variables that sets the binary output Tested linux
-rw-r--r--tools/h5dump/h5dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c
index 317cdab..8322cbc 100644
--- a/tools/h5dump/h5dump.c
+++ b/tools/h5dump/h5dump.c
@@ -3521,6 +3521,7 @@ parse_start:
usage(progname);
leave(EXIT_FAILURE);
}
+ bin_output = TRUE;
if (outfname!=NULL) {
if (set_output_file(outfname, 1) < 0){
/* failed to set output file */
@@ -3528,7 +3529,6 @@ parse_start:
leave(EXIT_FAILURE);
}
- bin_output = TRUE;
last_was_dset = FALSE;
}