[GHC] #2122: file locked even though hClose called
GHC
trac at galois.com
Mon Feb 25 20:14:56 EST 2008
#2122: file locked even though hClose called
---------------------------+------------------------------------------------
Reporter: JeremyShaw | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/base
Version: 6.8.2 | Severity: normal
Keywords: | Testcase:
Architecture: x86 | Os: Linux
---------------------------+------------------------------------------------
If I open the same file twice with openFile, then close both handles, and
then use writeFile to overwrite the file, I get a locked file error.
I have attached a file which includes three test cases. One always fails,
one always succeeds, and one sometimes fails when run multiple times, but
only in GHCi.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2122>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list