Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How about MODDIR being configure'able?
- X-seq: zsh-workers 16057
- From: Clint Adams <clint@xxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: How about MODDIR being configure'able?
- Date: Mon, 15 Oct 2001 13:41:07 -0400
- Cc: Raúl Núñez de Arenas Coronado <dervishd@xxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- In-reply-to: <1011015153328.ZM8149@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxx on Mon, Oct 15, 2001 at 03:33:27PM +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <E15t82J-0007k1-00@DervishD> <1011015153328.ZM8149@xxxxxxxxxxxxxxxxxxxxxxx>
> No, we've been over this before; there's even a comment in utils.c to
> this effect: zsh uses mktemp() in a safe way. Specifically, the names
> created by gettempname() are always opened with O_CREAT later, so if
> they exist the open() call will fail. Creating them with mkstemp(), on
> the other hand, causes problems with redirections and NO_CLOBBER.
Hmm.. shouldn't that be O_CREAT|O_EXCL, which we're not doing in
all cases?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author