hdf5/tools
Dana Robinson 60e14b826a
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>
2021-03-22 11:32:40 -05:00
..
lib Fix display of long double in tools (#469) 2021-03-17 10:27:21 -05:00
libtest Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
src File locks now work on Windows (#480) 2021-03-22 11:32:40 -05:00
test Fixed HDFFV-10480 (CVE-2018-11206) and HDFFV-11159 (CVE-2018-14033) (#405) 2021-03-19 08:15:03 -05:00
testfiles Fixed HDFFV-10480 (CVE-2018-11206) and HDFFV-11159 (CVE-2018-14033) (#405) 2021-03-19 08:15:03 -05:00
CMakeLists.txt TRILAB-142 Change minimum CMake version to 3.12 2020-02-21 16:16:06 -06:00
COPYING Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
Makefile.am Update license url part2 (#333) 2021-02-17 08:52:36 -06:00