summaryrefslogtreecommitdiff
path: root/net/omnitty/files/patch-main.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - After SA 08:01.pty, openpty() calls fork and omnitty has a bad assumptionRong-En Fan2008-02-201-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