From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29776 invoked from network); 6 Jan 2022 16:22:41 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 6 Jan 2022 16:22:41 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 4ess; Thu Jan 6 11:13:50 -0500 2022 Received: from abbatoir.myfiosgateway.com (pool-74-108-56-225.nycmny.fios.verizon.net [74.108.56.225]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id baad659d (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Thu, 6 Jan 2022 08:13:15 -0800 (PST) Message-ID: <4911A5AD923F24BE505AE70439121EBB@eigenstate.org> To: 9front@9front.org Date: Thu, 06 Jan 2022 11:13:13 -0500 From: ori@eigenstate.org In-Reply-To: <8735m34756.fsf@turtle-trading.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: encrypted API deep-learning SSL over ACPI full-stack-based reduce/map extension-based backend Subject: Re: [9front] ape/mkstemp: Fix flags Reply-To: 9front@9front.org Precedence: bulk Quoth Benjamin Riefenstahl : > Tcl tries to use mkstemp() but the current implementation in APE does > not allow reading from the file. This sets the flags to open() as > documented in various man pages. > > Other implementations also check errno==EEXIST after failure, to break > the loop earlier. But that is probably overkill for that rare error > condition. that looks good to me: applied.