[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tempname: new try_tempname function

From: Andreas Grünbacher
Subject: Re: [PATCH] tempname: new try_tempname function
Date: Sat, 31 Jan 2015 23:28:33 +0100

2015-01-31 23:20 GMT+01:00 Paul Eggert <address@hidden>:
> Thanks for this improvement.  However, I don't see why the new
> __gen_tempname needs a FLAGS argument, as the new little functions now take
> care of the flags.

Well, try_file() passes the flags on to open() for gen_tempfile's
GT_FILE mode. I don't think gen_tempfile() can just be replaced by
try_tempfile(), do you?

For some uses (like mine), a create mode parameter wouldn't hurt, either.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]