diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2021-03-22 16:32:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 16:32:40 (GMT) |
commit | 60e14b826a22452934f7057196c1ce4d0054d97a (patch) | |
tree | cb33f8b4d8840a7d0e2c653bde8e73020837624d /c++ | |
parent | 05bc1905cb37d145c29c036bacb1caac63c7f0c9 (diff) | |
download | hdf5-60e14b826a22452934f7057196c1ce4d0054d97a.zip hdf5-60e14b826a22452934f7057196c1ce4d0054d97a.tar.gz hdf5-60e14b826a22452934f7057196c1ce4d0054d97a.tar.bz2 |
File locks now work on Windows (#480)
* File locks now work on Windows
Uses LockFileEx() and UnlockFileEx(). Fixes HDFFV-10191 (partial).
* Committing clang-format changes
* Committing clang-format changes
* Fixes commenting in h5repack
* Reworks H5Fis_accessible()
H5Fis_accessible() created a new file handle and attempted to read
through it, which will fail when a file has been opened with an
exclusive lock on operating systems that have mandatory locks.
This change uses the same scheme we use in H5Fopen() to check if
the file is already open and only tries to read the file signature
if the file has not already been opened.
Also adds a test for this behavior.
* Committing clang-format changes
* Trivial change to force github to run actions
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'c++')
0 files changed, 0 insertions, 0 deletions