summaryrefslogtreecommitdiffstats
path: root/src/H5FDsrb.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2000-12-29 18:35:26 (GMT)
committerRobb Matzke <matzke@llnl.gov>2000-12-29 18:35:26 (GMT)
commit250ca943d375f0b0fe7a1d8ac900dbccabde9bc2 (patch)
tree76c5b9b2e125e87dfa9d1f09b5424a8fef82649e /src/H5FDsrb.c
parent8418ba1e641ccb171d86c4b543e185dbaca45603 (diff)
downloadhdf5-250ca943d375f0b0fe7a1d8ac900dbccabde9bc2.zip
hdf5-250ca943d375f0b0fe7a1d8ac900dbccabde9bc2.tar.gz
hdf5-250ca943d375f0b0fe7a1d8ac900dbccabde9bc2.tar.bz2
[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.
Diffstat (limited to 'src/H5FDsrb.c')
-rw-r--r--src/H5FDsrb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5FDsrb.c b/src/H5FDsrb.c
index 1cb2d86..f137491 100644
--- a/src/H5FDsrb.c
+++ b/src/H5FDsrb.c
@@ -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);
}