diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-10-06 20:43:42 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-10-06 20:43:42 (GMT) |
commit | d7437bc5b171fef226813a576dea088d00f67b9a (patch) | |
tree | fdd1b4053ea504382ed1883c9ffb4cd9b6fce76b /tools/h5repack | |
parent | d0a9060af92088223f8030ed41b8954609dffd97 (diff) | |
download | hdf5-d7437bc5b171fef226813a576dea088d00f67b9a.zip hdf5-d7437bc5b171fef226813a576dea088d00f67b9a.tar.gz hdf5-d7437bc5b171fef226813a576dea088d00f67b9a.tar.bz2 |
[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
Diffstat (limited to 'tools/h5repack')
-rw-r--r-- | tools/h5repack/h5repack_copy.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; |