On Sat, May 15, 2010 at 16:59:24 +0200, Matthias Kilian wrote:
> Is this one related to the ssh problem?
> 
>       http://hackage.haskell.org/trac/ghc/ticket/4066

We don't use hSetEncoding.

For what it's worth, the issue was resolved with this patch:

Wed May 12 20:49:35 BST 2010  Jeremy Cowgar <[email protected]>
  * Resolve issue1841: Apply binary mode to ssh process and patch file handles.
    hunk ./src/Darcs/External.hs 25
    -import System.IO ( hPutStr, hPutStrLn, hClose,
    +import System.IO ( hSetBinaryMode, hPutStr, hPutStrLn, hClose,
    hunk ./src/Darcs/External.hs 322
    +       hSetBinaryMode i True
    +       hSetBinaryMode o True
    hunk ./src/Ssh.hs 19
    -import System.IO ( Handle, hPutStr, hPutStrLn, hGetLine, hClose, hFlush )
    +import System.IO ( Handle, hSetBinaryMode, hPutStr, hPutStrLn, hGetLine, 
hClose, hFlush )
    hunk ./src/Ssh.hs 62
    +                       hSetBinaryMode i True
    +                       hSetBinaryMode o True

I feel a bit bad about this; the GHC 6.12 release had put a niggling worry in
my mind that *something* would break.  Wish we were more proactive about it.

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to