Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: 4.1.0: mkstemp



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