#7184: Possible race condition in copyFile
----------------------------------+-----------------------------------------
Reporter: Macil | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: libraries/directory | Version: 7.4.2
Resolution: invalid | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related: #5251
----------------------------------+-----------------------------------------
Changes (by simonmar):
* status: new => closed
* difficulty: => Unknown
* resolution: => invalid
Comment:
I don't agree that there's a race condition - there is no need for other
threads to use the temporary file, and the final rename is atomic. But I
do agree that we should be using the Windows native API, as #5251 arges.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7184#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs