Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: 4.1.0: mkstemp
- X-seq: zsh-workers 14943
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: 4.1.0: mkstemp
- Date: Fri, 15 Jun 2001 23:24:46 -0700 (PDT)
- In-reply-to: <1010616030727.ZM4354@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
On Sat, 16 Jun 2001, Bart Schaefer wrote:
> You should have made a ChangeLog entry, or deleted PWS's ...
Thanks, I got distracted there for a moment. I've committed my
ChangeLog entry.
> if (close(mkstemp(ret = dyncat(unmeta(s), "XXXXXX"))) < 0 ||
> unlink(ret) < 0)
Oooh, slimey! That would sure silence the (dubious) warning, but I
would hate the extra open/close/unlink. Perhaps we should just link in
a work-alike mktemp() function that doesn't generate a warning?
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author