summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-07-09 18:02:24 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-07-09 18:02:24 (GMT)
commit637df34074604c314cd55a3b0cad733e35255ceb (patch)
tree5ec587916e4bc9753a3e7ca45638d2dca2872f38 /tools
parentb3cafaa61d32e7678a46c684f8fe1d02b40ebb12 (diff)
downloadhdf5-637df34074604c314cd55a3b0cad733e35255ceb.zip
hdf5-637df34074604c314cd55a3b0cad733e35255ceb.tar.gz
hdf5-637df34074604c314cd55a3b0cad733e35255ceb.tar.bz2
[svn-r22528] HDFFV-4206: h5dump -w0 needed to be tested within the get option function.
Tested: local linux and all H5DUMP tests still work
Diffstat (limited to 'tools')
-rw-r--r--tools/h5dump/h5dump.c3
1 files changed, 3 insertions, 0 deletions
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':