Skip to content

GHC.Handle.fdToHandle' locks regular files

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.

Trac metadata
Trac field Value
Version 6.6.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information