summaryrefslogtreecommitdiffstats
path: root/src/H5FDstdio.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-05-19 21:58:34 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-05-19 21:58:34 (GMT)
commit14c286d51a13658ea26673efa3f197af06757cee (patch)
tree4a9f2f138000560272c7b4ac72efb34073fce243 /src/H5FDstdio.c
parent13bedd4c4a5f4d3c5ae482aba8fababa19f68157 (diff)
downloadhdf5-14c286d51a13658ea26673efa3f197af06757cee.zip
hdf5-14c286d51a13658ea26673efa3f197af06757cee.tar.gz
hdf5-14c286d51a13658ea26673efa3f197af06757cee.tar.bz2
Fixed HDFFV-10214:
* Updated comments in the library to accurately reflect the semantics of the H5FD_FEAT_POSIX_COMPAT_HANDLE flag. * Removed the check for the POSIX compatible handle feature flag when determining if a VFD supports SWMR. Partial work for HDFFV-10197: * Added a new H5FD_FEAT_DEFAULT_VFD_COMPATIBLE feature flag that is set when a VFD creates output that is compatible with the default VFD. Will be used in the testing but might also be generally useful to users.
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r--src/H5FDstdio.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index 5023af3..861c6a6 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -555,10 +555,11 @@ H5FD_stdio_query(const H5FD_t *_f, unsigned long /*OUT*/ *flags)
*/
if(flags) {
*flags = 0;
- *flags|=H5FD_FEAT_AGGREGATE_METADATA; /* OK to aggregate metadata allocations */
- *flags|=H5FD_FEAT_ACCUMULATE_METADATA; /* OK to accumulate metadata for faster writes */
- *flags|=H5FD_FEAT_DATA_SIEVE; /* OK to perform data sieving for faster raw data reads & writes */
- *flags|=H5FD_FEAT_AGGREGATE_SMALLDATA; /* OK to aggregate "small" raw data allocations */
+ *flags |= H5FD_FEAT_AGGREGATE_METADATA; /* OK to aggregate metadata allocations */
+ *flags |= H5FD_FEAT_ACCUMULATE_METADATA; /* OK to accumulate metadata for faster writes */
+ *flags |= H5FD_FEAT_DATA_SIEVE; /* OK to perform data sieving for faster raw data reads & writes */
+ *flags |= H5FD_FEAT_AGGREGATE_SMALLDATA; /* OK to aggregate "small" raw data allocations */
+ *flags |= H5FD_FEAT_DEFAULT_VFD_COMPATIBLE; /* VFD creates a file which can be opened with the default VFD */
}
return 0;