diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2013-05-14 19:56:51 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2013-05-14 19:56:51 (GMT) |
commit | 71af5b7480cb0f0aa689640972f8e96fef1e60f0 (patch) | |
tree | ab8e74253d276931a20d40a0df8a2de6692026fe /src/H5Zprivate.h | |
parent | 811ac68ac24972a1392fc9f6d20ae96286b2db7a (diff) | |
download | hdf5-71af5b7480cb0f0aa689640972f8e96fef1e60f0.zip hdf5-71af5b7480cb0f0aa689640972f8e96fef1e60f0.tar.gz hdf5-71af5b7480cb0f0aa689640972f8e96fef1e60f0.tar.bz2 |
[svn-r23702] Issue 8380 - H5Zunregister caused seg fault. This is a porting of code from the trunk. It fixes the problem by first iterating
through all opened datasets and groups to see if any of them uses the filter. If it finds one, the function fails with a message.
Then the function flushes all opened files.
Tested with h5committest.
Diffstat (limited to 'src/H5Zprivate.h')
-rw-r--r-- | src/H5Zprivate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Zprivate.h b/src/H5Zprivate.h index f53b50c..6c0a46f 100644 --- a/src/H5Zprivate.h +++ b/src/H5Zprivate.h @@ -91,6 +91,7 @@ H5_DLL herr_t H5Z_can_apply_direct(const struct H5O_pline_t *pline); H5_DLL herr_t H5Z_set_local_direct(const struct H5O_pline_t *pline); H5_DLL H5Z_filter_info_t *H5Z_filter_info(const struct H5O_pline_t *pline, H5Z_filter_t filter); +H5_DLL htri_t H5Z_filter_in_pline(const struct H5O_pline_t *pline, H5Z_filter_t filter); H5_DLL htri_t H5Z_all_filters_avail(const struct H5O_pline_t *pline); H5_DLL htri_t H5Z_filter_avail(H5Z_filter_t id); H5_DLL herr_t H5Z_delete(struct H5O_pline_t *pline, H5Z_filter_t filter); |