diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2010-08-05 17:14:39 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2010-08-05 17:14:39 (GMT) |
commit | 1fe94ec545b2ae92fefc16eb3d9864e52b12107d (patch) | |
tree | e7d796cca8531c5abfa015a1a873813263f36c03 | |
parent | ddf5c9caa55ef9b98977ec064175fd684177c3f9 (diff) | |
download | hdf5-1fe94ec545b2ae92fefc16eb3d9864e52b12107d.zip hdf5-1fe94ec545b2ae92fefc16eb3d9864e52b12107d.tar.gz hdf5-1fe94ec545b2ae92fefc16eb3d9864e52b12107d.tar.bz2 |
[svn-r19176] Bug fix for #1239 - The filter's public function CAN_APPLY should return htri_t not
herr_t. To minimize the change of the library's behavior, in the function
H5Z_prelude_callback of H5Z.c, if the return value of can_apply is FALSE and
the filter is MANDATE, this function returns a FAILURE. If the return value is FALSE
but the filter is OPTIONAL, this function returns a SUCCEED. During the IO, the filter
will fail and return a size of zero. But the pipeline will skip this filter.
Tested the same change for 1.8 on jam, linew, and amani. Tested on jam with szip.
-rw-r--r-- | release_docs/RELEASE.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 881e0d8..125fcce 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -234,6 +234,8 @@ Bug Fixes since HDF5-1.8.0 release Library ------- + - Fixed the bug in the filter's public CAN_APPLY function. The return + value should be htri_t not herr_t (Bug #1239). (SLU - 2010/8/5) - Fixed a bug in the direct I/O driver that could render files with certain kinds of unaligned data unreadable or corrupt them. (NAF - 2010/07/28) |