[darcs-users] darcs patch: Recognize a special DARCS_TESTING_PREFS_... (and 2 more)

Petr Rockai me at mornfall.net
Wed Jul 15 07:56:55 UTC 2009


Hi,

the attached patches, together with hashed-storage 0.3.6 (mostly just waiting
for mmap 0.4 to hit hackage) should make darcs pass the testsuite on win32. My
instance of win32 was also seeing the same DeleteFiles failures we had on the
buildbot, so there should be no more excuses to have the windows buildslave
green.

I have applied the patches on the release branch.

Yours,
   Petr.

Tue Jul 14 15:38:12 CEST 2009  Petr Rockai <me at mornfall.net>
  * Recognize a special DARCS_TESTING_PREFS_DIR envvar to override the global preference directory.

Tue Jul 14 15:40:24 CEST 2009  Petr Rockai <me at mornfall.net>
  * Use DARCS_TESTING_PREFS_DIR in ShellHarness, since APPDATA override does not work.

Tue Jul 14 15:42:32 CEST 2009  Petr Rockai <me at mornfall.net>
  * Use mmapFilePS in gzReadFilePS to avoid lazy bytestring readFile.
  
  It turns out that the lazy readFile does not close the filedescriptor soon
  enough in some cases and causes DeleteFile failures on win32. mmapFilePS uses
  mmap when available and falls back to strict bytestring readFile, neither of
  which causes these issues.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 101559 bytes
Desc: A darcs patch for your repository!
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090715/2d452b41/attachment-0001.bin>


More information about the darcs-users mailing list