summaryrefslogtreecommitdiffstats
path: root/src/H5FDgass.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2000-12-29 18:35:18 (GMT)
committerRobb Matzke <matzke@llnl.gov>2000-12-29 18:35:18 (GMT)
commit476e9a05ac021a6f02c7795075f048e1bf650692 (patch)
tree8170130a7818fa651366f4bd4837bdace3838be4 /src/H5FDgass.c
parent64121aacce83032bad40cc4d36eabfe7b57fbe67 (diff)
downloadhdf5-476e9a05ac021a6f02c7795075f048e1bf650692.zip
hdf5-476e9a05ac021a6f02c7795075f048e1bf650692.tar.gz
hdf5-476e9a05ac021a6f02c7795075f048e1bf650692.tar.bz2
[svn-r3217] ./hdf5/src/H5FDgass.c
2000-12-29 08:54:15 Robb Matzke <matzke@llnl.gov> * H5FD_gass_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/H5FDgass.c')
-rw-r--r--src/H5FDgass.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5FDgass.c b/src/H5FDgass.c
index aadca8b..e86a5a6 100644
--- a/src/H5FDgass.c
+++ b/src/H5FDgass.c
@@ -439,7 +439,7 @@ H5FD_gass_close (H5FD_t *_file)
* Function: H5FD_gass_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
*
@@ -461,8 +461,9 @@ H5FD_gass_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);
}