Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - After SA 08:01.pty, openpty() calls fork and omnitty has a bad assumption | Rong-En Fan | 2008-02-20 | 1 | -0/+16 |
that library calls do not do that. Therefore, it's SIGCHLD handling causes a hang in wait() as openpty() already does that. Fix this by using waitpid() with WNOHANG. Diagnosed by: jhb Tested by: dhw (earlier version) Notes: svn path=/head/; revision=207621 |