On 17 February 2011 10:01, Robert Collins <[email protected]> wrote: > On Thu, Feb 17, 2011 at 11:38 AM, John A Meinel <[email protected]> > wrote: >> I would expect something similar from dup2. > > I would expect dup2 to workaround those bugs :) - its why I suggested it.
We want to do a nonblocking open, so we don't have an fd to dup until we've done that. After opening it, maybe we could dup it, then make the new copy blocking, then close the original. It's possible that would work around it. On the other hand if in general we can't make open fds blocking, it may not fix it. -- https://code.launchpad.net/~jameinel/launchpad/lp-serve-child-hangup/+merge/50055 Your team Launchpad code reviewers is requested to review the proposed merge of lp:~jameinel/launchpad/lp-serve-child-hangup into lp:launchpad. _______________________________________________ Mailing list: https://launchpad.net/~launchpad-reviewers Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-reviewers More help : https://help.launchpad.net/ListHelp

