Joe Schaefer <[EMAIL PROTECTED]> writes:

> mkstemp doesn't remove the temp file, but tmpfile _does_.

> > I don't know... I like the idea of giving someone a filename and
> > letting them do what they want with it, which may or may not
> > include opening the file.

> But if they do nothing with it, it should vanish- not stick around
> in the /tmp directory.  (The temp file should go away by itself).

Fair enough, but with mkstemp, I can do that after the script has had
a crack at doing something with the file.

-- 
David N. Welton
     Personal:           http://www.efn.org/~davidw/  
Free Software:           http://people.debian.org/~davidw/
   Apache Tcl:           http://tcl.apache.org

Reply via email to