logo       

Re: [GHC] #679: using ReadWriteMode in Windows corrupts files: msg#00102

lang.haskell.glasgow.bugs

Subject: Re: [GHC] #679: using ReadWriteMode in Windows corrupts files

#679: using ReadWriteMode in Windows corrupts files
-----------------------------+----------------------------------------------
Reporter: aljee@xxxxxxxx | 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
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise