• Andries E. Brouwer's avatar
    [PATCH] fcntl fix · 619a67aa
    Andries E. Brouwer authored
    Today we return EINVAL for fcntl with a lock with negative length.
    POSIX-2001 says that the lock covers start .. start+len-1 if len >= 0
    and start+len .. start-1 if len < 0.
    619a67aa
locks.c 48.1 KB