public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* flock: cannot set up timer: Invalid argument
@ 2019-01-18  7:12 Daniel Abrahamsson
  2019-01-20  5:10 ` Yaakov Selkowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Abrahamsson @ 2019-01-18  7:12 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 619 bytes --]

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
\0ТÒÐÐ¥\a&ö&ÆVÒ\a&W\x06÷'G3¢\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒ÷\a&ö&ÆV×2æ‡FÖÀФd\x15\x13¢\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöf\x17\x12ðФFö7VÖVçF\x17F–öã¢\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöFö72æ‡FÖÀÐ¥Vç7V'67&–&R\x06–æfó¢\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöÖÂò7Vç7V'67&–&R×6–×\x06ÆPРÐ

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: flock: cannot set up timer: Invalid argument
  2019-01-18  7:12 flock: cannot set up timer: Invalid argument Daniel Abrahamsson
@ 2019-01-20  5:10 ` Yaakov Selkowitz
  2019-01-21  7:11   ` Daniel Abrahamsson
  0 siblings, 1 reply; 3+ messages in thread
From: Yaakov Selkowitz @ 2019-01-20  5:10 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: flock: cannot set up timer: Invalid argument
  2019-01-20  5:10 ` Yaakov Selkowitz
@ 2019-01-21  7:11   ` Daniel Abrahamsson
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Abrahamsson @ 2019-01-21  7:11 UTC (permalink / raw)
  To: Yaakov Selkowitz, cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1310 bytes --]

Thank you.

I can confirm using cygwin1-20190120.dll solves the problem.

//Daniel

-----Original Message-----
From: cygwin-owner@cygwin.com <cygwin-owner@cygwin.com> On Behalf Of Yaakov Selkowitz
Sent: den 20 januari 2019 06:10
To: cygwin@cygwin.com
Subject: 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

\x03B‹KCB”\x1c›Ø›\x19[H\x1c™\^[ܝ\x1cΈ\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÜ\x1c›Ø›\x19[\Ëš\x1d^[[\x03B‘TNˆ\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ˜\KÃB‘^[ØÝ[Y[\x18]\x1a[ÛŽˆ\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ^[ØÜËš\x1d^[[\x03B•[œÝXœØÜšX™H\x1a[™›Îˆ\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÛ[\vÈÝ[œÝXœØÜšX™K\Ú[\^[\x19CBƒB

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-21  7:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-18  7:12 flock: cannot set up timer: Invalid argument Daniel Abrahamsson
2019-01-20  5:10 ` Yaakov Selkowitz
2019-01-21  7:11   ` Daniel Abrahamsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).