[svn-r14208] Description:
Make H5Pget_filter_by_id() API versioned and switch internal usage
to H5Pget_filter_by_id2().
Add simple regression test for H5Pget_filter_by_id1().
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
This commit is contained in:
@@ -390,13 +390,11 @@ void DSetCreatPropList::getFilterById(H5Z_filter_t filter_id,
|
||||
unsigned int &flags, size_t &cd_nelmts, unsigned int* cd_values,
|
||||
size_t namelen, char name[], unsigned int &filter_config) const
|
||||
{
|
||||
herr_t ret_value = H5Pget_filter_by_id(id, filter_id, &flags, &cd_nelmts,
|
||||
cd_values, namelen, name, &filter_config );
|
||||
herr_t ret_value = H5Pget_filter_by_id2(id, filter_id, &flags, &cd_nelmts,
|
||||
cd_values, namelen, name, &filter_config);
|
||||
if (ret_value < 0)
|
||||
{
|
||||
throw PropListIException("DSetCreatPropList::getFilterById",
|
||||
"H5Pget_filter_by_id failed");
|
||||
}
|
||||
"H5Pget_filter_by_id2 failed");
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user