]> git.ipfire.org Git - thirdparty/automake.git/commit
port XFile locking to OpenIndiana
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 1 Aug 2020 23:12:34 +0000 (16:12 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 1 Aug 2020 23:13:32 +0000 (16:13 -0700)
commit217d6d92df9ea44c225ea815e121eb5c539bb748
treebc9dbd57976716684a0e15f6332adddb2820ec44
parent1761472779a5161b2d793d93d539ebf6d8c676d6
port XFile locking to OpenIndiana

I observed this problem on an NFS filesystem on an OpenIndiana
host (5.11 illumos-dde7ba523f i386).  fcntl (fd, F_SETLK, ...)
failed with errno == EINVAL, which POSIX allows for files that
do not support locking.
* lib/Automake/XFile.pm (lock): Treat EINVAL like ENOLCK.
lib/Automake/XFile.pm