Petr Rockai <[email protected]> writes:
> Eric Kow <[email protected]> writes:
>> Applied, with an additional patch to fix test/shell_harness.hs
>> (which is used by the autoconf-based build). Thanks!
> This finally made the Windows buildslave get its act together. It now builds
> darcs and runs tests. A bunch fails, with following error:
>
> darcs.exe: DeleteFile: permission denied (The process cannot access the file
> because it is being used by another process.)
>
> Vast majority of these is in check (and maybe repair), plus at least
> one in optimize --compress. I suppose all of these are because it's
> trying to delete a file that it didn't close, which fails on windows
> (I wish I knew why...).
On Windows you can't delete a file while it's being read, e.g.
cat foo &
rm foo
Because unlinking a file from its directory immediately makes that
file's blocks GC-able (whereas on Unix, an inode cannot be GCd until its
reference count on the filesystem *and processes* is zero).
I guess the bottom line is that we've found opportunities to close FDs
earlier :-)
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users