diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-09-16 23:18:02 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-09-16 23:18:02 (GMT) |
commit | 046e6e8770212dc020279aba1d7a5c9aa5ec5913 (patch) | |
tree | aaff22404c6920bb55990e3d2440fd032c3f63a4 | |
parent | 1215cec5018ffec7cbe0a5d9546f280c1315d646 (diff) | |
parent | 387d2e671c597a51b4166667a16e740a8e1449fa (diff) | |
download | hdf5-046e6e8770212dc020279aba1d7a5c9aa5ec5913.zip hdf5-046e6e8770212dc020279aba1d7a5c9aa5ec5913.tar.gz hdf5-046e6e8770212dc020279aba1d7a5c9aa5ec5913.tar.bz2 |
Merge pull request #1924 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor_pr to develop
* commit '387d2e671c597a51b4166667a16e740a8e1449fa':
Added a release note for HDFFV-10892 (fcntl lock bug).
-rw-r--r-- | release_docs/RELEASE.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index f26d969..7c09c2b 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -538,6 +538,28 @@ Bug Fixes since HDF5-1.10.3 release (JTH - 2018/08/25, HDFFV-10501) + - fcntl(2)-based file locking incorrectly passed the lock argument struct + instead of a pointer to the struct, causing errors on systems where + flock(2) is not available. + + File locking is used when files are opened to enforce SWMR semantics. A + lock operation takes place on all file opens unless the + HDF5_USE_FILE_LOCKING environment variable is set to the string "FALSE". + flock(2) is preferentially used, with fcntl(2) locks as a backup if + flock(2) is unavailable on a system (if neither is available, the lock + operation fails). On these systems, the file lock will often fail, which + causes HDF5 to not open the file and report an error. + + This bug only affects POSIX systems. Win32 builds on Windows use a no-op + locking call which always succeeds. Systems which exhibit this bug will + have H5_HAVE_FCNTL defined but not H5_HAVE_FLOCK in the configure output. + + This bug affects HDF5 1.10.0 through 1.10.5. + + fcntl(2)-based file locking now correctly passes the struct pointer. + + (DER - 2019/08/27, HDFFV-10892) + Java Library: ---------------- |