summaryrefslogtreecommitdiffstats
path: root/release_docs
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-09-17 19:43:30 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-09-17 19:43:30 (GMT)
commit7449e6a2c62ca5b7e38b4ba522f91cf117f4e027 (patch)
tree6823e4d76984134e219d0bab2054ebfc091a9827 /release_docs
parent3fed3735dba9922e9b0ced19e995039bebd9c5d1 (diff)
parent406890277cbe92be1d68721a6fa115441ab1a726 (diff)
downloadhdf5-7449e6a2c62ca5b7e38b4ba522f91cf117f4e027.zip
hdf5-7449e6a2c62ca5b7e38b4ba522f91cf117f4e027.tar.gz
hdf5-7449e6a2c62ca5b7e38b4ba522f91cf117f4e027.tar.bz2
Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '406890277cbe92be1d68721a6fa115441ab1a726': Fixed a bug where we incorrectly pass a lock struct to fcntl for file locking instead of a pointer. (HDFFV-10892)
Diffstat (limited to 'release_docs')
-rw-r--r--release_docs/RELEASE.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index 11498bc..c1c5622 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -275,6 +275,28 @@ Bug Fixes since HDF5-1.10.5 release
(RL - 2019/3/4, HDFFV-10705)
+ - 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:
----------------