[GHC] #4363: openFile sharing permissions are inconsistent across platforms

GHC cvs-ghc at haskell.org
Sat Oct 9 15:52:26 EDT 2010


#4363: openFile sharing permissions are inconsistent across platforms
---------------------------------+------------------------------------------
    Reporter:  jystic            |        Owner:                             
        Type:  bug               |       Status:  new                        
    Priority:  normal            |    Milestone:                             
   Component:  libraries/base    |      Version:  6.12.3                     
    Keywords:                    |     Testcase:                             
   Blockedby:                    |   Difficulty:                             
          Os:  Windows           |     Blocking:                             
Architecture:  Unknown/Multiple  |      Failure:  Incorrect result at runtime
---------------------------------+------------------------------------------

Comment(by NeilMitchell):

 I've been bitten by this in practice several times, as has Max
 Bolingbroke. We have things where Haskell writes out a file which we than
 cat in to the file we really wanted to write to avoid this problem. It's
 even more annoying that it's done to satisfy the standard, but that on
 Linux you don't satisfy the standard and it's far more convenient. Windows
 is perfectly capable of doing what Linux does - I'd love it to be changed.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4363#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list