[GHC] #4144: Exception: ToDo: hGetBuf - when using custom handle
infrastructure
GHC
cvs-ghc at haskell.org
Sun Jun 20 23:47:12 EDT 2010
#4144: Exception: ToDo: hGetBuf - when using custom handle infrastructure
-------------------------------+--------------------------------------------
Reporter: AntoineLatter | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.12.3 | Keywords:
Os: MacOS X | Testcase:
Architecture: x86_64 (amd64) | Failure: Runtime crash
-------------------------------+--------------------------------------------
When trying to use the custom handle infrastructure, hGetContents fails
like so:
*** Exception: ToDo: hGetBuf
This exception occurs twice in GHC.IO.Handle.Text
The handle implementation I'm using is attached.
It would be neat if I could pass along some witness that my device
implements RawDevice, then we could just run the same code that we use for
file-descriptors. But I'd be happy enough with a general solution, as I
just plan to use this for testing.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4144>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list