]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Add lockfile to the cache
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 16 Oct 2024 19:43:34 +0000 (13:43 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 16 Oct 2024 19:43:34 +0000 (13:43 -0600)
commitb1447b57e93d9de9e7dd651737396476da79b8ed
treed37232e44ff2513d10d2139b25660e0adeaf726c
parent0d011065633a1c9ccb5a9290829ad081d1b09754
Add lockfile to the cache

To prevent other (well-behaved) instances from accidentally reading and
writing the same directory simultaneously.

Fixes #149.
src/cache.c
src/cache.h
src/sig.c