[GHC] #1602: GHC.Handle.fdToHandle' locks regular files

GHC trac at galois.com
Wed Aug 8 13:25:06 EDT 2007


#1602: GHC.Handle.fdToHandle' locks regular files
---------------------------------+------------------------------------------
  Reporter:  bos at serpentine.com  |          Owner:         
      Type:  bug                 |         Status:  new    
  Priority:  normal              |      Milestone:         
 Component:  Runtime System      |        Version:  6.6.1  
  Severity:  normal              |       Keywords:         
Difficulty:  Unknown             |             Os:  Unknown
  Testcase:                      |   Architecture:  Unknown
---------------------------------+------------------------------------------
The code in GHC.Handle.fdToHandle' locks a regular file.  This violates
 POSIX file semantics, because it means that a process can't open the same
 file twice simultaneously.  The locking should be removed.

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


More information about the Glasgow-haskell-bugs mailing list