Hi, While a complete code review would be good, I don't think there's a specific bug here. The dup fails because the fd was accidentally closed; with the fix for #190385 in place, the fd will always be open and valid at that point.
-jim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]