2015-01-31 23:20 GMT+01:00 Paul Eggert <egg...@cs.ucla.edu>:
> 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.

Thanks,
Andreas

Reply via email to