Web lists-archives.com

Re: flock: cannot set up timer: Invalid argument




On Fri, 2019-01-18 at 07:11 +0000, Daniel Abrahamsson wrote:
> After upgrading from util-linux 2.25.2-2 to 2.32.1-1, flock started producing the following error message:
> 
> flock: cannot set up timer: Invalid argument
> 
> This is the test script I am using (which works under 2.25.2-2):
> 
> #!/bin/bash --login
> (
>     echo "Waiting for file lock”
>     flock -x -w 300 200 || exit 1
>     echo “Success”
> ) 200>test.lock
> 
> Ideas?

This appears to be fixed in the latest snapshot.

--
Yaakov



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple