[GHC] #5891: "createDirectory: already exists" error with parallel build

GHC cvs-ghc at haskell.org
Mon Feb 27 16:48:10 CET 2012


#5891: "createDirectory: already exists" error with parallel build
---------------------------------+------------------------------------------
    Reporter:  akio              |       Owner:  simonmar          
        Type:  bug               |      Status:  merge             
    Priority:  high              |   Milestone:  7.4.2             
   Component:  Compiler          |     Version:  7.4.1             
    Keywords:                    |          Os:  Linux             
Architecture:  Unknown/Multiple  |     Failure:  Compile-time crash
  Difficulty:  Unknown           |    Testcase:                    
   Blockedby:                    |    Blocking:                    
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * status:  patch => merge


Comment:

 commit ffe282cef4213ab8de515a8574d366994d38d5dd
 {{{
 Author: Takano Akio <aljee at hyper.cx>
 Date:   Wed Feb 22 10:18:29 2012 +0800

     Replace createDirectoryHierarchy with createDirectoryIfMissing True

     createDirectoryHierarchy consisted of an existence test followed by
     createDirectory, which failed if that directory was creted just after
     the test. createDirectoryifMissing does not have this problem.
 }}}

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



More information about the Glasgow-haskell-bugs mailing list