On Wed, Feb 07, 2007 at 11:27:30AM -0800, David Roundy wrote: > > I wonder if instead we should be using tmpfile(). > > ... > > tmpfile() would be nice, but the file is deleted automatically when the > handle is closed (perhaps deleted before the handle is returned?), so we > can't use it when we want a filename that we can pass to emacs.
The standard solution is to use mkdtemp to create a dirctory (with mode 0700) and then create a file in that directory with your choice of name. mkdtemp is not in POSIX currently, but it seems like it will be added soon. Peace, Dylan Thurston
signature.asc
Description: Digital signature
_______________________________________________ darcs-devel mailing list darcs-devel@darcs.net http://lists.osuosl.org/mailman/listinfo/darcs-devel