summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2000-12-29 18:35:16 (GMT)
committerRobb Matzke <matzke@llnl.gov>2000-12-29 18:35:16 (GMT)
commit3c84c589e64c5bfa3cbd3083b3d33fdad8780564 (patch)
tree6d2d6da20744082c3267684a9dbda4de74c1280b /src
parentd758e7c53ec2020e11cd32c3dd9675520ba2f1b0 (diff)
downloadhdf5-3c84c589e64c5bfa3cbd3083b3d33fdad8780564.zip
hdf5-3c84c589e64c5bfa3cbd3083b3d33fdad8780564.tar.gz
hdf5-3c84c589e64c5bfa3cbd3083b3d33fdad8780564.tar.bz2
[svn-r3215] ./hdf5/src/H5FDdpss.c
2000-12-29 08:52:45 Robb Matzke <matzke@llnl.gov> * H5FD_dpss_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')
-rw-r--r--src/H5FDdpss.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/H5FDdpss.c b/src/H5FDdpss.c
index 67889de..cb9518d 100644
--- a/src/H5FDdpss.c
+++ b/src/H5FDdpss.c
@@ -138,8 +138,8 @@ static const H5FD_class_t H5FD_dpss_g = {
NULL, /* dxpl_free */
H5FD_dpss_open, /* open */
H5FD_dpss_close, /* close */
- NULL, /* cmp */
- H5FD_dpss_query, /*query */
+ NULL, /* cmp */
+ H5FD_dpss_query, /* query */
NULL, /* alloc */
NULL, /* free */
H5FD_dpss_get_eoa, /* get_eoa */
@@ -397,7 +397,7 @@ H5FD_dpss_close (H5FD_t *_file)
* Function: H5FD_dpss_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
*
@@ -419,8 +419,9 @@ H5FD_dpss_query(const UNUSED H5FD_t *_f, unsigned long *flags /* out */)
/* Set the VFL feature flags that this driver supports */
if(flags) {
+ *flags = 0;
*flags|=H5FD_FEAT_DATA_SIEVE; /* OK to perform data sieving for faster raw data reads & writes */
- } /* end if */
+ }
FUNC_LEAVE(ret_value);
}