diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2014-02-27 19:16:04 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2014-02-27 19:16:04 (GMT) |
commit | e5759186e8d28b1acf4e38f4181667200ecead00 (patch) | |
tree | af0529f3b448b853b4bab4e392c0f07d4fcf6d19 /src/H5Z.c | |
parent | e674aaf859d6d0658e48221ed77c283dcc4f82fa (diff) | |
download | hdf5-e5759186e8d28b1acf4e38f4181667200ecead00.zip hdf5-e5759186e8d28b1acf4e38f4181667200ecead00.tar.gz hdf5-e5759186e8d28b1acf4e38f4181667200ecead00.tar.bz2 |
[svn-r24746] Merge trunk revision 24744 from cmake branch includes;
HDFFV-8505: UD filter changes to remove filters in h5repack.
Tested: local linux
Diffstat (limited to 'src/H5Z.c')
-rw-r--r-- | src/H5Z.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -665,7 +665,13 @@ H5Zfilter_avail(H5Z_filter_t id) HGOTO_ERROR (H5E_ARGS, H5E_BADVALUE, FAIL, "invalid filter identification number") if((ret_value = H5Z_filter_avail(id)) < 0) - HGOTO_ERROR(H5E_PLINE, H5E_NOTFOUND, FAIL, "unable to check the availability of the filter") + HGOTO_ERROR(H5E_PLINE, H5E_NOTFOUND, FAIL, "unable to check the availability of the filter") + else if(ret_value == FALSE) { + const H5Z_class2_t *filter_info; + + if(NULL != (filter_info = (const H5Z_class2_t *)H5PL_load(H5PL_TYPE_FILTER, (int)id))) + ret_value = TRUE; + } /* end if */ done: FUNC_LEAVE_API(ret_value) |