From 637df34074604c314cd55a3b0cad733e35255ceb Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Mon, 9 Jul 2012 13:02:24 -0500 Subject: [svn-r22528] HDFFV-4206: h5dump -w0 needed to be tested within the get option function. Tested: local linux and all H5DUMP tests still work --- tools/h5dump/h5dump.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c index 2799d95..1a70d11 100644 --- a/tools/h5dump/h5dump.c +++ b/tools/h5dump/h5dump.c @@ -1035,6 +1035,9 @@ parse_start: break; case 'w': h5tools_nCols = HDatoi(opt_arg); + if (h5tools_nCols==0) { + h5tools_nCols = 65535; + } last_was_dset = FALSE; break; case 'a': -- cgit v0.12