[darcs-devel] [issue130] windows permission lies

Esa Ilari Vuokko eivuokko at gmail.com
Mon Feb 13 10:08:37 PST 2006


On 2/13/06, Clive Crous wrote:
> darcs: C:/repository/noegnud/_darcs/patches/darcs858099: removeFile: permission
> denied (Permission denied)

It might be that this is a matter of file locking/non-closed handle, not
actually permissions.  GHC RTS keeps filehandles open until they are
gc collected and sometimes (in some machines, certain usage patterns
and timings) removeFile is called before handle is properly closed.  If this
is the case, the code should probably get converted to some withX-idiom.

-Esa




More information about the darcs-devel mailing list