9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] ape/mkstemp: Fix flags
Date: Thu, 06 Jan 2022 11:13:13 -0500	[thread overview]
Message-ID: <4911A5AD923F24BE505AE70439121EBB@eigenstate.org> (raw)
In-Reply-To: <8735m34756.fsf@turtle-trading.net>

Quoth Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net>:
> 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.


  reply	other threads:[~2022-01-06 16:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-04 19:45 Benjamin Riefenstahl
2022-01-06 16:13 ` ori [this message]
2022-01-06 16:44   ` Benjamin Riefenstahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4911A5AD923F24BE505AE70439121EBB@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).