[GHC] #5420: writeFile should use openBinaryFile
GHC
cvs-ghc at haskell.org
Tue Aug 23 22:09:08 CEST 2011
#5420: writeFile should use openBinaryFile
---------------------------+------------------------------------------------
Reporter: Tinctorius | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Prelude | Version: 7.2.1
Resolution: invalid | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
---------------------------+------------------------------------------------
Changes (by simonmar):
* status: new => closed
* resolution: => invalid
Comment:
This is by design. If you want to write binary data, use
`openBinaryFile`, or the `Data.ByteString` library instead.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5420#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list