#679: using ReadWriteMode in Windows corrupts files
-----------------------------+----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: simonmar
Type: bug | Status: closed
Priority: normal | Milestone: 6.6
Component: libraries/base | Version: 6.4.1
Severity: normal | Resolution: fixed
Keywords: | Os: Windows
Difficulty: Easy (1 hr) | Architecture: Unknown
-----------------------------+----------------------------------------------
Changes (by simonmar):
* resolution: => fixed
* status: new => closed
Comment:
Fixed by turning off buffering by default for read/write text files on
Windows. There isn't a good way to raise an exception, since the
buffering mode is not specified when opening the file.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/679>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs