From a57f2246b21a385faf50fd16e32edf68208ceb81 Mon Sep 17 00:00:00 2001 From: Neil Fortner Date: Fri, 25 Sep 2009 14:13:22 -0500 Subject: [svn-r17535] Purpose: Fix bug 1620 Description: H5Ppublic.h listed H5Pget_filter_by_id1 and H5Pget_filter_by_id2 as returning H5Z_filter_t, when in fact they return herr_t. The header file has been corrected to indicate that they return herr_t. Tested: jam --- release_docs/RELEASE.txt | 2 ++ src/H5Ppublic.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 1ee8915..c1b9db7 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -183,6 +183,8 @@ Bug Fixes since HDF5-1.8.0 release Library ------- + - Fixed incorrect return value for H5Pget_filter_by_id1/2 in H5Ppublic.h. + (NAF - 2009/09/25 - 1620) - Fixed a bug where properties weren't being compared with the registered compare callback. (NAF - 2009/09/25 - 1555) - Fixed a bug where H5Pget_fitler_by_id would succeed when called for a diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h index a67ea71..495ba42 100644 --- a/src/H5Ppublic.h +++ b/src/H5Ppublic.h @@ -292,7 +292,7 @@ H5_DLL H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned filter, unsigned cd_values[]/*out*/, size_t namelen, char name[], unsigned *filter_config /*out*/); -H5_DLL H5Z_filter_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t id, +H5_DLL herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t id, unsigned int *flags/*out*/, size_t *cd_nelmts/*out*/, unsigned cd_values[]/*out*/, size_t namelen, char name[]/*out*/, unsigned *filter_config/*out*/); @@ -419,7 +419,7 @@ H5_DLL herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, H5_DLL H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned filter, unsigned int *flags/*out*/, size_t *cd_nelmts/*out*/, unsigned cd_values[]/*out*/, size_t namelen, char name[]); -H5_DLL H5Z_filter_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, +H5_DLL herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags/*out*/, size_t *cd_nelmts/*out*/, unsigned cd_values[]/*out*/, size_t namelen, char name[]/*out*/); -- cgit v0.12