[darcs-users] darcs patch: Use System.Directory.getTemporaryDirecto... (and 3 more)
David Roundy
droundy at darcs.net
Fri May 9 16:18:23 UTC 2008
On Fri, May 09, 2008 at 03:53:17PM +0000, E.Y.Kow at brighton.ac.uk wrote:
> Note: I think the pipeDoc patch makes tests fail. But maybe somebody would be
> willing to fix it. I just dumbly copy-and-pasted the code from execDocPipe
Hmmm. It looks good to me, and if it doesn't break tests for me, I'll push
it.
> Fri May 9 15:30:35 BST 2008 Eric Kow <E.Y.Kow at brighton.ac.uk>
> * Use System.Directory.getTemporaryDirectory to determine tmp location.
>
> This is more portable. For instance, it understands Windows's
> conventions.
>
> Fri May 9 15:56:36 BST 2008 Eric Kow <E.Y.Kow at brighton.ac.uk>
> * Create temporary files with openBinaryTempFile.
> Remove some mkstemp-related code which is no longer used.
>
> Fri May 9 16:34:06 BST 2008 Eric Kow <E.Y.Kow at brighton.ac.uk>
> * Create temporary files in the current directory.
> We don't know how openBinaryTempFile behaves with an empty string
> as the directory.
>
> Fri May 9 16:51:44 BST 2008 Eric Kow <E.Y.Kow at brighton.ac.uk>
> * Pipe documents directly to the external program.
> Do not create a temporary file.
More information about the darcs-users
mailing list