mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r4631] Purpose:
Bug fix Description: Fixed return type from FAIL to NULL. Platforms tested: Daily tests on SGI machines.
This commit is contained in:
parent
a496459acc
commit
2a2d3b21aa
@ -676,7 +676,7 @@ static H5FD_t *H5FD_stream_open (const char *filename,
|
||||
if (H5P_DEFAULT != fapl_id)
|
||||
{
|
||||
if(TRUE!=H5P_isa_class(fapl_id,H5P_FILE_ACCESS) || NULL == (plist = H5I_object(fapl_id)))
|
||||
HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a file access property list");
|
||||
HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a file access property list");
|
||||
fapl = H5P_get_driver_info (plist);
|
||||
}
|
||||
if (fapl == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user