From b20cf81c5c4a7a07516870f7747c981545d29be8 Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Thu, 26 Feb 2004 09:32:21 -0500 Subject: [svn-r8224] Purpose: bug fix Description: I introduced some #ifdef on the check in yesterday on the places that generated datasets, that had no corresponding on the read part. this caused failures in the configurations where a filter was not defined Solution: just removed the #ifdefs Platforms tested: linux Misc. update: --- tools/h5repack/testh5repack_filters.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/h5repack/testh5repack_filters.c b/tools/h5repack/testh5repack_filters.c index 5cddb94..6c58764 100644 --- a/tools/h5repack/testh5repack_filters.c +++ b/tools/h5repack/testh5repack_filters.c @@ -108,19 +108,16 @@ int make_filters(hid_t loc_id) * SZIP *------------------------------------------------------------------------- */ -#ifdef H5_HAVE_FILTER_SZIP /* set szip data */ if(H5Pset_szip (dcpl,szip_options_mask,szip_pixels_per_block)<0) goto out; if (make_dset(loc_id,"dset_szip",sid,dcpl,buf)<0) goto out; -#endif /*------------------------------------------------------------------------- * GZIP *------------------------------------------------------------------------- */ -#ifdef H5_HAVE_FILTER_DEFLATE /* remove the filters from the dcpl */ if (H5Premove_filter(dcpl,H5Z_FILTER_ALL)<0) goto out; @@ -129,7 +126,6 @@ int make_filters(hid_t loc_id) goto out; if (make_dset(loc_id,"dset_gzip",sid,dcpl,buf)<0) goto out; -#endif /*------------------------------------------------------------------------- @@ -171,11 +167,9 @@ int make_filters(hid_t loc_id) /* set the checksum filter */ if (H5Pset_fletcher32(dcpl)<0) goto out; -#ifdef H5_HAVE_FILTER_SZIP /* set szip data */ if(H5Pset_szip (dcpl,szip_options_mask,szip_pixels_per_block)<0) goto out; -#endif if (make_dset(loc_id,"dset_all",sid,dcpl,buf)<0) goto out; -- cgit v0.12