#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.wall...@…):

 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
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to