mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
bug fix in H5Zshuffle.c add more tests to h5repack that exposed the bug Description: when creating a dataset with the shuffle filter and duplicating it in a new dataset (file) the call to H5Z_set_local_shuffle failed. this is because the value of cd_nelmts of the filter structure is set to 1 (H5Z_SHUFFLE_TOTAL_NPARMS) when the original dataset is created, but when the new dataset is created there is a checking instruction that fails if the value of cd_nelmts is not 0 (its original value, H5Z_SHUFFLE_USER_NPARMS) Solution: just remove that check condition, since the value of cd_nelmts is not used anyway. if we decide that the value of cd_nelmts is necessary, then the H5O_pline_copy function must be changed to update this value (a different update for each filter) Platforms tested: linux solaris AIX Misc. update: |
||
---|---|---|
.. | ||
Dependencies | ||
h5repack_copy.c | ||
h5repack_filters.c | ||
h5repack_layout.c | ||
h5repack_list.c | ||
h5repack_main.c | ||
h5repack_opttable.c | ||
h5repack_parse.c | ||
h5repack_refs.c | ||
h5repack_verify.c | ||
h5repack.c | ||
h5repack.h | ||
h5repack.sh | ||
Makefile.in | ||
testh5repack_attr.c | ||
testh5repack_dset.c | ||
testh5repack_filters.c | ||
testh5repack_main.c | ||
testh5repack_make.c |