From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 28961 invoked from network); 20 Apr 2020 17:27:16 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with UTF8ESMTPZ; 20 Apr 2020 17:27:16 -0000 Received: (qmail 17713 invoked by alias); 20 Apr 2020 17:27:05 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45711 Received: (qmail 21619 invoked by uid 1010); 20 Apr 2020 17:27:05 -0000 X-Qmail-Scanner-Diagnostics: from mail-qv1-f65.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25786. spamassassin: 3.4.4. Clear:RC:0(209.85.219.65):SA:0(-1.9/5.0):. Processed in 1.754061 secs); 20 Apr 2020 17:27:05 -0000 X-Envelope-From: dana@dana.is X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.219.65 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=FNS1H1EH50dB0hodS1wXgSJayLgimXMhFKLlYMcCwrM=; b=mz6u0YEbRf27GSUpJ1xtrL7U2kSld9jD6hqJZh3fjAT6fwkxWHS8iWaUefr2IqWZBS czAKAaPkBw3s1wq9piF8fGQdpy+SGUqw0EIBiUrPQasZZ1p2OEDY3aOr1BPmQVOVBa+U X25fmEjXU8DvnEiRtANnTjo1vKJ043GWalfUksg6uF+JMRRgTtqlRxhWU7Jq+DD5Srt3 MBrmlq7spj3JPZ8ZByqo+57gpCHOPvTcK+GKA8C0JFxM4+o8atmwxvIb6f8LeFNgilNB p646EMhJQxPrNMc5Juh8eJdQ6iQFUp4FEfK/G563Ebstggj2xy+3iqJJUpOIJb8EG5zc Q0VQ== X-Gm-Message-State: AGi0PuZAbg4N1NbcmFUFO8rpciSRMaig3drHzGN0MGDzYCfrui+zDa/U ccr9BnCsO25EuZQnbl+UF31c+g== X-Google-Smtp-Source: APiQypJR/8gTJYPthnCysF0zEfVI+RjdjCTvWQnViL8Re2n5n7mviEG/bltg/+b137lRmx3bDwTs4w== X-Received: by 2002:ad4:46c4:: with SMTP id g4mr5762019qvw.69.1587403589000; Mon, 20 Apr 2020 10:26:29 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: [PATCH] Enable sub-second timeout in zsystem flock From: dana In-Reply-To: <20200418163216.ohqwhs4gwvnzqher@phare.normalesup.org> Date: Mon, 20 Apr 2020 12:28:09 -0500 Cc: Daniel Shahaf , Zsh hackers list Content-Transfer-Encoding: quoted-printable Message-Id: <46E15633-F786-4BB9-8429-F6B848552841@dana.is> References: <20200314210454.hp562smyqv3ew255@phare.normalesup.org> <20200315005036.45bc846b@tarpaulin.shahaf.local2> <20200315160324.dstgtmajzwxpaccn@phare.normalesup.org> <20200315165410.GA30241@tarpaulin.shahaf.local2> <20200413213449.orqym5bqboznancl@phare.normalesup.org> <20200414114700.108febf3@tarpaulin.shahaf.local2> <20200414202100.x7fxbf3liwbyclpe@phare.normalesup.org> <20200415011530.2b8f3ed3@tarpaulin.shahaf.local2> <20200416042453.78406746@tarpaulin.shahaf.local2> <20200418163216.ohqwhs4gwvnzqher@phare.normalesup.org> To: Cedric Ware X-Mailer: Apple Mail (2.3608.60.0.2.5) On 18 Apr 2020, at 11:32, Cedric Ware = wrote: > I'm all for it, of course. ;-) You decide whether you want the zlong > one or the struct timespec one. I'm not sure i'm qualified to have a strong opinion on the 32/64 thing, = but it sounds like both options have their merits, and nobody else has = indicated a preference, so i've merged the most recent patch. We can change it later = if we want. I did make two small modifications: * The documentation said that the time-out/interval values had to be = *less than* 2^30-1 / 0.999*LONG_MAX, but as far as i can see from the code = it's actually *less than or equal to*, so i changed the wording slightly. = Please correct me if there's any mistake here * I reverted the superscript formatting change that Daniel suggested. It = looks like @sup was added to texinfo only in 2014, and Apple's makeinfo in particular does not support it. I was able to get Homebrew's texinfo = package to work, but it's keg-only (not linked into PATH due to conflicts with = other software), and i'm nervous about unilaterally breaking the Doc build = with the standard tooling on macOS and possibly other platforms just to = format one number. Not suggesting we limit ourselves to Apple's GPL2 tooling = until the end of time, but i suppose we should at least discuss it first dana