[darcs-users] Something is seriously wrong with Darcs on Windows

Petr Rockai me at mornfall.net
Sat Apr 24 14:07:37 UTC 2010


Eric Kow <kowey at darcs.net> writes:
> 3. Work on darcs 2.4.2 resolving the Windows issue specifically
at this point, it is a matter of bumping h-s dependency to 0.4.12.

I have (semi-accidentally) tracked this bug down to yet another lstat
screwup in GHC. On win32, System.Posix.Internals.lstat just gives random
data. The index size and existence is derived from this random data and
that explains both symptoms that have been observed.

I now use:

#if mingw32_HOST_OS
lstat = c_stat
import System.Posix.Internals( lstat )


More information about the darcs-users mailing list