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

Re: proposal: per-user temporary directories on by default?



On Fri, Jul 25, 2003 at 07:33:25PM -0600, Dwayne C. Litzenberger wrote:
> <rant>
> Personally, I'd rather see a better set of tools for programmers to use to
> create temporary files.  tmpfile(3) is horribly inadequade for a lot of
> things (like when you need to know the filename of the file you just
> created), and I have yet to see a good interface for securely creating
> directories.
> </rant>

mkdtemp()'s OK, isn't it? It's easier to get directory creation right
because of the semantics of mkdir().

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: