Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Improved temp-file creation
- X-seq: zsh-workers 20529
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Geoff Wing <gcw@xxxxxxx>
- Subject: Re: [PATCH] Improved temp-file creation
- Date: Fri, 29 Oct 2004 09:07:36 -0700
- Cc: Zsh Hackers <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20041029070120.GA22848@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20041019053736.GA23313@xxxxxxxxx> <20041029070120.GA22848@xxxxxxxxxxxxxxx>
On Fri, Oct 29, 2004 at 05:01:20PM +1000, Geoff Wing wrote:
> You've replaced a couple of open()s which were O_NOCTTY with one that isn't.
Correct. I had meant to discuss that, but neglected to do so.
Since we're using O_CREAT to ensure that we open a new file, I didn't
see any need to also specify O_NOCTTY -- i.e. how can the file be a tty
if it was just created?
Since some of the replaced open() calls used O_CREAT included O_NOCTTY
and some didn't, I chose to settle on leaving it out. If I was wrong
about the flag being useless, we can add it back in.
Thanks for checking over the changes!
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author