|
[GHC] #629: IO library locking bug: msg#00073lang.haskell.glasgow.bugs
#629: IO library locking bug ----------------------+----------------------------------------------------- Reporter: simonmar | Owner: Type: bug | Status: new Priority: lowest | Milestone: Component: Compiler | Version: 6.4.1 Severity: minor | Keywords: Os: Unknown | Architecture: Unknown ----------------------+----------------------------------------------------- We aren't keeping track of the number of readers of a file, so that the first one to close a Handle removes the lock. {{{ > main = do > fc <- openFile "z" ReadMode -- sacrificial handle > fr <- openFile "z" ReadMode > hClose fc > fa <- openFile "z" AppendMode > hPutStr fa "append this line\n" > hGetLine fr >>= print }}} this should fail. -- Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/629> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [GHC] #246: Wrong pat-match order for records, GHC |
|---|---|
| Next by Date: | Re: [GHC] #629: IO library locking doesn't count readers, GHC |
| Previous by Thread: | Re: [GHC] #246: Wrong pat-match order for records, GHC |
| Next by Thread: | Re: [GHC] #629: IO library locking doesn't count readers, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |