[GHC] #4066: hSetEncoding only sets the encoding for the read side
of a duplex Handle
GHC
cvs-ghc at haskell.org
Wed May 12 09:11:41 EDT 2010
#4066: hSetEncoding only sets the encoding for the read side of a duplex Handle
---------------------------------+------------------------------------------
Reporter: simonmar | Owner: simonmar
Type: bug | Status: new
Priority: high | Milestone: 6.12.3
Component: libraries/base | Version: 6.12.2
Keywords: | Difficulty: Easy (less than 1 hour)
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: Incorrect result at runtime
---------------------------------+------------------------------------------
For example, calling `hSetEncoding` on a socket only works for reading,
not writing. Can be worked around by calling `socketToHandle` manually to
create a `WriteMode` socket.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4066>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list