]> 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>
Sun, 8 Mar 2020 20:48:19 +0000 (21:48 +0100)
commit6d59e74e74f28327021fe461e2debca335141e77
tree341c816e55c5c4a9a66c5070e264c7451141b7bb
parent41ffc7ec009237da51040c6059b1bcd7903af30d
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.
src/lockfile.c
unittest/test_lockfile.c