[darcs-users] darcs patch: Create temporary files in temporary dire... (and 1 more)

Simon Marlow marlowsd at gmail.com
Fri May 9 14:15:53 UTC 2008


Eric Kow wrote:
>> Thu May  8 23:49:32 BST 2008  Eric Kow <E.Y.Kow at brighton.ac.uk>
>>  * Windows: check the TEMP environment variable for the tempdir location.
> 
> Do you think this particular patch is ok to apply?

I suggest using System.Directory.getTemporaryDirectory instead - it 
abstracts the knowledge about the TEMP environment variable.  But possibly 
you should be using System.IO.openTempFile anyway.

Cheers,
	Simon


More information about the darcs-users mailing list