diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-07-15 19:25:27 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-07-15 19:25:27 (GMT) |
commit | a6cbc806638a682f0685c086feb87c32a8119ef2 (patch) | |
tree | 48537c01f5d7d637f624a03d01c5b45b5c6d7a8e /tools/h5repack/h5repack_list.c | |
parent | 89c9bfc05b97068c7b1649e85f9cfeff87be7441 (diff) | |
download | hdf5-a6cbc806638a682f0685c086feb87c32a8119ef2.zip hdf5-a6cbc806638a682f0685c086feb87c32a8119ef2.tar.gz hdf5-a6cbc806638a682f0685c086feb87c32a8119ef2.tar.bz2 |
[svn-r8882] Purpose:
bug fix, new feature
Description:
fixed bug in the parse function:
cases where we have an already inserted name but there is a new name also
example:
-f dset1:GZIP=1 -l dset1,dset2:CHUNK=20x20
dset1 is already inserted, but dset2 must also be (it was not)
added a CHECK_SZIP symbol to enable/disable checking of library related szip parameters
added the print of the filter name in verbose mode (confirms visually that the filter was applied )
Solution:
Platforms tested:
linux
solaris
AIX
Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack_list.c')
-rw-r--r-- | tools/h5repack/h5repack_list.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/h5repack/h5repack_list.c b/tools/h5repack/h5repack_list.c index 8c8acee..d3a84e1 100644 --- a/tools/h5repack/h5repack_list.c +++ b/tools/h5repack/h5repack_list.c @@ -28,7 +28,7 @@ * * Return: 0, ok, -1 no * - * Programmer: pvn@ncsa.uiuc.edu + * Programmer: Pedro Vicente, pvn@ncsa.uiuc.edu * * Date: September, 23, 2003 * @@ -77,7 +77,6 @@ int check_objects(const char* fname, if (options->verbose) { - printf("\n"); printf("Opening file <%s>. Searching for objects to modify...\n",fname); } @@ -90,8 +89,8 @@ int check_objects(const char* fname, /* the input object names are present in the file and are valid */ if (h5trav_getindext(name,travt)<0) { - printf("\nError: Could not find <%s> in file <%s>. Exiting...\n", - name,fname); + printf("%sError: Could not find <%s> in file <%s>. Exiting...\n", + (options->verbose?"\n":""),name,fname); goto out; } if (options->verbose) @@ -120,7 +119,7 @@ out: * * Return: void * - * Programmer: pvn@ncsa.uiuc.edu + * Programmer: Pedro Vicente, pvn@ncsa.uiuc.edu * * Date: October 23, 2003 * |