]> git.ipfire.org Git - thirdparty/libbsd.git/commit
Use lockf() when flock() is not available
authorGuillem Jover <guillem@hadrons.org>
Mon, 10 Apr 2023 21:10:40 +0000 (23:10 +0200)
committerGuillem Jover <guillem@hadrons.org>
Mon, 17 Apr 2023 02:12:42 +0000 (04:12 +0200)
commit1fb6c3f4ce2ebd43312f182a77ee407408002cc8
tree9f870124bfc2158e2151aa44a2ac0bd30bc4562c
parentfe16f3863ec9be8d571d9e53701c9af40f399e4d
Use lockf() when flock() is not available

On Solaris flock() is not available, and we should use instead lockf()
or fcntl().
configure.ac
src/flopen.c