diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2012-08-08 16:08:27 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2012-08-08 16:08:27 (GMT) |
commit | faba610060cb168d97a7b9c01d95688542e2cf28 (patch) | |
tree | e37bba310e7129ae110f7f0e4ec5eb653601e8da /src/H5FDsec2.c | |
parent | 8a0b4729cdc7b9edb18e84b2b9182228bd6eaa2e (diff) | |
download | hdf5-faba610060cb168d97a7b9c01d95688542e2cf28.zip hdf5-faba610060cb168d97a7b9c01d95688542e2cf28.tar.gz hdf5-faba610060cb168d97a7b9c01d95688542e2cf28.tar.bz2 |
[svn-r22641] Dectris project: I revised the code per Quincey's and Neil's comments. I added a performance benchmark program dectris_perf.c in the test/ directory.
Tested on koala and jam.
Diffstat (limited to 'src/H5FDsec2.c')
-rw-r--r-- | src/H5FDsec2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c index 4201e07..085465c 100644 --- a/src/H5FDsec2.c +++ b/src/H5FDsec2.c @@ -357,6 +357,8 @@ H5FD_sec2_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr) o_flags |= O_CREAT; if(H5F_ACC_EXCL & flags) o_flags |= O_EXCL; + if(H5F_ACC_SYNC & flags) + o_flags |= O_SYNC; /* Open the file */ if((fd = HDopen(name, o_flags, 0666)) < 0) { |