diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-07-23 18:52:18 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-07-23 18:52:18 (GMT) |
commit | 77f6e46b81d5f6583242fcbbc87c4b2f44bc9b3e (patch) | |
tree | d9d22c0f8f4482e2e4a46b40aa77839c15e26731 /src | |
parent | 4b0fa0dbf06a93c7cb7c62a374019543ffa70fe6 (diff) | |
download | hdf5-77f6e46b81d5f6583242fcbbc87c4b2f44bc9b3e.zip hdf5-77f6e46b81d5f6583242fcbbc87c4b2f44bc9b3e.tar.gz hdf5-77f6e46b81d5f6583242fcbbc87c4b2f44bc9b3e.tar.bz2 |
[svn-r7257] Purpose:
bug fix
Description:
if the user incorrectly put the option -n20 (instead of -n 20) as the last argument
h5diff tried to parse the 20 as an extra argument, causing a failure
if ('-' !=argv[i+1][0] )
Solution:
add an extra test for the case that option is the last argument
if ( i<argc-1 && '-' !=argv[i+1][0] )
Platforms tested:
linux . this is too trivial for all platforms test
Misc. update:
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions