Keep the same FD in both halves of a duplex handle when dup'ing
authorIan Lynagh <igloo@earth.li>
Tue, 20 Feb 2007 14:10:39 +0000 (14:10 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 20 Feb 2007 14:10:39 +0000 (14:10 +0000)
commitc235995340ba0900871e2c31245eb6006d22d5a0
treec67121bdb8de7e6162ca266723ac45cb331700e8
parent13c1623bdf0945efa1d82e0aac47e980ab35ef93
Keep the same FD in both halves of a duplex handle when dup'ing
Otherwise we only close one of the FDs when closing the handle.
Fixes trac #1149.
GHC/Handle.hs