From 4e243fd5e741fbdeaf92a484d52dbae4b0008268 Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Tue, 1 May 2007 15:58:18 -0500 Subject: [svn-r13720] Bug fix The parsing routine -b was not correctly affecting one of the variables that sets the binary output Tested linux --- tools/h5dump/h5dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v0.12