From d7437bc5b171fef226813a576dea088d00f67b9a Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Mon, 6 Oct 2008 15:43:42 -0500 Subject: [svn-r15791] Bug fix. When detecting the user requested filters, the "all" option was not taken in consideration when printing the compression ratio Tested: windows, linux --- tools/h5repack/h5repack_copy.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c index 92f8321..312f085 100644 --- a/tools/h5repack/h5repack_copy.c +++ b/tools/h5repack/h5repack_copy.c @@ -606,7 +606,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; -- cgit v0.12