Ticket #2122 (closed merge: fixed)
file locked even though hClose called
| Reported by: | JeremyShaw | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.8.3 |
| Component: | Runtime System | Version: | 6.8.2 |
| Keywords: | Cc: | ||
| Operating System: | Linux | Architecture: | x86 |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | 2122 | Blocked By: | |
| Blocking: | Related Tickets: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

