X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=F0nHRjOj0c4EsEUtNaeiTHZ9aQqIM f+U3ayeul+r45vKq+sU8VHmZiLbM87nFM1UwztubX/7RoUzrXfKzkpn8gSnQDuE+ V+tXE0iR+pqGAt6K58Rn3vI+FK+PRihQ/rB1Y8+snGhQZ6GkvTzv3Fwzk0gQmnL5 xZkGgZi1Wz1CXM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=LHX3VfNrJ4gvTpsAfMukCk2IJDo=; b=kcH eACK9zDNtUVgCu8NTg3GlVG6HvvFDs5gNxMoP9b1p9NmmV8dQqTaguvemd+DUtHw kEjxUGgxdrRewpOsBNzvQ6ObHLqcwmpmCV5D0K29nPkSO/0760sgUgphPsYhPPET QvxpSru03jzZbTtvPcbPazddDCHLU0DSUtSiYyjU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=BAYES_50,CYGWIN_OWNER_BODY,GIT_PATCH_2,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=cygwinownercygwincom, U*cygwin-owner, cygwin-owner AT cygwin DOT com, UD:cygwin.com X-HELO: EUR03-VE1-obe.outbound.protection.outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=provertechnology.onmicrosoft.com; s=selector1-prover-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OIjTi173rCcvJir/tMyaKZiUZMm5ueKE8YPX9af5weE=; b=Ft7325Fh43B87QneTCb+0ze8+qZ7B2H7aPAOBunSoumD15T7Wl5NH2SH8RMtm0JAKB9nWdyynGMKY1DU8ckgpbLz6mWDlHkfnTjB5SgI8g/3dWWlCchzHgW/3X0Pix2ZdBCNPspS8ixqR7nKWndryq9cxlPZZlZhf7aRrVKrulM= From: Daniel Abrahamsson To: Yaakov Selkowitz , "cygwin AT cygwin DOT com" Subject: RE: flock: cannot set up timer: Invalid argument Date: Mon, 21 Jan 2019 07:11:44 +0000 Message-ID: References: <41eec858fea3a796406875078fe63e55cdc39d79 DOT camel AT cygwin DOT com> In-Reply-To: <41eec858fea3a796406875078fe63e55cdc39d79.camel@cygwin.com> authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel DOT abrahamsson AT prover DOT com; received-spf: None (protection.outlook.com: prover.com does not designate permitted sender hosts) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x0L7C5YW000305 Thank you. I can confirm using cygwin1-20190120.dll solves the problem. //Daniel -----Original Message----- From: cygwin-owner AT cygwin DOT com On Behalf Of Yaakov Selkowitz Sent: den 20 januari 2019 06:10 To: cygwin AT cygwin DOT 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 -- 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