diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-01-28 19:07:21 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-01-28 19:07:21 (GMT) |
commit | 48c7a5e35ea7950f54fdeaad1d308c32d4c4e4c2 (patch) | |
tree | ed96a559d3975387a2d7a355c8326c108e519012 /tools/h5repack/h5repack_main.c | |
parent | 500292582fa8bde8c0520c04fe597c39c98f2bd9 (diff) | |
download | hdf5-48c7a5e35ea7950f54fdeaad1d308c32d4c4e4c2.zip hdf5-48c7a5e35ea7950f54fdeaad1d308c32d4c4e4c2.tar.gz hdf5-48c7a5e35ea7950f54fdeaad1d308c32d4c4e4c2.tar.bz2 |
[svn-r8121] Purpose:
bug fix
Description:
avoid reading and writing data when one of the dimensions is 0 (attributes case )
Solution:
linux
solaris
AIX
Platforms tested:
Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack_main.c')
-rw-r--r-- | tools/h5repack/h5repack_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5repack/h5repack_main.c b/tools/h5repack/h5repack_main.c index 73b77b5..ef18dfa 100644 --- a/tools/h5repack/h5repack_main.c +++ b/tools/h5repack/h5repack_main.c @@ -50,7 +50,7 @@ int main(int argc, char **argv) } else if (strcmp(argv[i], "-f") == 0) { - /* add the -t option */ + /* add the -f filter option */ h5repack_addfilter(argv[i+1],&options); /* jump to next */ @@ -58,7 +58,7 @@ int main(int argc, char **argv) } else if (strcmp(argv[i], "-l") == 0) { - /* parse the -c option */ + /* parse the -l layout option */ h5repack_addlayout(argv[i+1],&options); /* jump to next */ @@ -75,7 +75,7 @@ int main(int argc, char **argv) ++i; } - else if (strcmp(argv[i], "-f") == 0) { + else if (strcmp(argv[i], "-e") == 0) { read_info(argv[++i],&options); } |