summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-06 21:02:25 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-06 21:02:25 (GMT)
commit000cea7853199ba3c76614daebc3ab854d1f4864 (patch)
treed1b36e1aa52bbbf1cd882f34282c2a910de89f9d /tools
parentb2238a0aac36c62e70f9b5132c62da446845781f (diff)
downloadhdf5-000cea7853199ba3c76614daebc3ab854d1f4864.zip
hdf5-000cea7853199ba3c76614daebc3ab854d1f4864.tar.gz
hdf5-000cea7853199ba3c76614daebc3ab854d1f4864.tar.bz2
[svn-r15793] Bug fix. When detecting the user requested filters, the "all" option was not taken in consideration when printing the compression ratio
Tested: windows, linux
Diffstat (limited to 'tools')
-rw-r--r--tools/h5repack/h5repack_copy.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c
index 0ce0073..9f3f252 100644
--- a/tools/h5repack/h5repack_copy.c
+++ b/tools/h5repack/h5repack_copy.c
@@ -490,7 +490,11 @@ int do_copy_objects(hid_t fidin,
has_filter = 0;
req_filter = 0;
- /* check if filters were requested */
+ /* check if global filters were requested */
+ if ( options->n_filter_g )
+ req_filter = 1;
+
+ /* check if filters were requested for individual objects */
for( u = 0; u < options->op_tbl->nelems; u++)
{
int k;