mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-18 17:40:55 +08:00
[svn-r3223] ./hdf5/src/H5FDsrb.c
2000-12-29 08:56:44 Robb Matzke <matzke@llnl.gov> * H5FD_srb_query: The `flags' argument is advertised to be output only. Therefore I added code to zero its value before the feature bits are assigned.
This commit is contained in:
parent
8418ba1e64
commit
250ca943d3
@ -368,7 +368,7 @@ H5FD_srb_close(H5FD_t *_file)
|
||||
* Function: H5FD_srb_query
|
||||
*
|
||||
* Purpose: Set the flags that this VFL driver is capable of supporting.
|
||||
* (listed in H5FDpublic.h)
|
||||
* (listed in H5FDpublic.h)
|
||||
*
|
||||
* Return: Success: non-negative
|
||||
*
|
||||
@ -390,8 +390,9 @@ H5FD_srb_query(const UNUSED H5FD_t *_f, unsigned long *flags /* out */)
|
||||
|
||||
/* Set the VFL feature flags that this driver supports */
|
||||
if(flags) {
|
||||
*flgs = 0;
|
||||
*flags|=H5FD_FEAT_DATA_SIEVE; /* OK to perform data sieving for faster raw data reads & writes */
|
||||
} /* end if */
|
||||
}
|
||||
|
||||
FUNC_LEAVE(ret_value);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user