diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-07-09 18:02:24 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-07-09 18:02:24 (GMT) |
commit | 637df34074604c314cd55a3b0cad733e35255ceb (patch) | |
tree | 5ec587916e4bc9753a3e7ca45638d2dca2872f38 /tools/h5dump/h5dump.c | |
parent | b3cafaa61d32e7678a46c684f8fe1d02b40ebb12 (diff) | |
download | hdf5-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/h5dump/h5dump.c')
-rw-r--r-- | tools/h5dump/h5dump.c | 3 |
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': |