[GHC] #4363: openFile sharing permissions are inconsistent
across platforms
GHC
cvs-ghc at haskell.org
Tue Oct 5 14:28:03 EDT 2010
#4363: openFile sharing permissions are inconsistent across platforms
---------------------------------+------------------------------------------
Reporter: jystic | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/base
Version: 6.12.3 | Keywords:
Testcase: | Blockedby:
Os: Windows | Blocking:
Architecture: Unknown/Multiple | Failure: Incorrect result at runtime
---------------------------------+------------------------------------------
Comment(by malcolm.wallace@…):
This is just the way Windows works. It is unlikely ghc can do anything to
work around that Windows feature/bug. However, you (the programmer) can
explicitly hClose the file, print it, and then reopen it in !AppendMode if
you want to. This is not a general solution, but might be OK in certain
application-specific circumstances.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4363#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list