diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-02-26 14:32:21 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-02-26 14:32:21 (GMT) |
commit | b20cf81c5c4a7a07516870f7747c981545d29be8 (patch) | |
tree | 566ba4cdf924555cb3296f39ab12f907266ef6bf /tools/h5repack | |
parent | 40357176e3d476ff7d7dea5721485afb76708447 (diff) | |
download | hdf5-b20cf81c5c4a7a07516870f7747c981545d29be8.zip hdf5-b20cf81c5c4a7a07516870f7747c981545d29be8.tar.gz hdf5-b20cf81c5c4a7a07516870f7747c981545d29be8.tar.bz2 |
[svn-r8224] Purpose:
bug fix
Description:
I introduced some #ifdef <have_filter> 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:
Diffstat (limited to 'tools/h5repack')
-rw-r--r-- | tools/h5repack/testh5repack_filters.c | 6 |
1 files changed, 0 insertions, 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; |