Use lockf() when flock() is not available

On Solaris flock() is not available, and we should use instead lockf()
or fcntl().
This commit is contained in:
Guillem Jover
2023-04-10 23:10:40 +02:00
parent fe16f3863e
commit 1fb6c3f4ce
2 changed files with 24 additions and 6 deletions

View File

@@ -290,6 +290,7 @@ __register_atfork(NULL, NULL, NULL, __dso_handle);
AC_CHECK_FUNCS([\
clearenv \
dirfd \
flock \
fopencookie \
__fpurge \
getauxval \