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

Re: PATCH: small compilation cleanup for utils.c



John T. Guthrie wrote:
>+     ret = ((char *) mkstemp(dyncat(unmeta(s), "XXXXXX")));

That's not how to use mkstemp().  It returns a file descriptor, not
the pathname.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author