[darcs-users] hSetBuffering: unsupported operation (Illegal seek)

Ian Lynagh igloo at earth.li
Fri Oct 10 11:25:29 UTC 2008


Hi all,

I finally got around to looking at the
    hSetBuffering: unsupported operation (Illegal seek)
when you give input too fast during darcs's patch selection.
(darcs currently works around this by ignoring all exceptions when
calling hSetBuffering).

The problem is here:
    http://hackage.haskell.org/trac/ghc/ticket/2678
and the better workaround is to not use hLookAhead to find \n's, but
just to ignore them when they are read normally.


Thanks
Ian



More information about the darcs-users mailing list