This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

flock: cannot set up timer: Invalid argument


Hi,

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?

//Daniel

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]