]> git.ipfire.org Git - thirdparty/ccache.git/commit
Rewrite the Windows version of the lockfile routines
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 26 Feb 2020 21:50:12 +0000 (22:50 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 10 Mar 2020 18:57:11 +0000 (19:57 +0100)
commit01de3d5c703407d658c5adcd753d4fc5da89ba3d
treeed0c49d4e5aa8c080643f7f16c76f9a9131eebce
parent41425fc94b1df95d36c3254db5b67e29c257cb6b
Rewrite the Windows version of the lockfile routines

Instead of emulating the POSIX version, use the native Windows file API
to create a lockfile. This should mitigate several problems with the old
implementation.

Hopefully fixes #537.

(cherry picked from commit 53b9fdd6272896bb4a2dc42c9680d4030f86b33c)
src/lockfile.cpp