[darcs-users] darcs patch: Fix newline endings on Windows for HTTP module.

Salvatore Insalaco kirby81 at gmail.com
Sat Oct 25 13:48:20 UTC 2008


Darcs 2.1.0 support for HTTP module (without libcurl or libwww) is
broken on Windows, because HTTP.hs uses Prelude.writeFile to write
downloaded files, that uses the "\r\n" newline encoding on Windows,
mangling the _darcs files.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: http-newlines.dpatch
Type: application/octet-stream
Size: 32365 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20081025/f2d864ad/attachment-0001.obj 


More information about the darcs-users mailing list