diff options
author | Robb Matzke <matzke@llnl.gov> | 2000-12-29 18:35:22 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 2000-12-29 18:35:22 (GMT) |
commit | 244b5772b86503f90bdd18cbc61c60028ded46ae (patch) | |
tree | f59597b2d1b98ff87a209e765686e18a934e15b2 /src | |
parent | 7d2824106283c0fc2e6f4fc4ca4598b1a4882b7d (diff) | |
download | hdf5-244b5772b86503f90bdd18cbc61c60028ded46ae.zip hdf5-244b5772b86503f90bdd18cbc61c60028ded46ae.tar.gz hdf5-244b5772b86503f90bdd18cbc61c60028ded46ae.tar.bz2 |
[svn-r3220] ./hdf5/src/H5FDmulti.c
2000-12-29 08:55:42 Robb Matzke <matzke@llnl.gov>
* H5FD_multi_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/H5FDmulti.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5FDmulti.c b/src/H5FDmulti.c index 2ae128d..a26d7e1 100644 --- a/src/H5FDmulti.c +++ b/src/H5FDmulti.c @@ -1304,7 +1304,7 @@ H5FD_multi_cmp(const H5FD_t *_f1, const H5FD_t *_f2) * Function: H5FD_multi_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 * @@ -1325,8 +1325,9 @@ H5FD_multi_query(const 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 */ + } return(0); } |