K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-02-20T02:06:11.000000Z K 7 svn:log V 300 - After SA 08:01.pty, openpty() calls fork and omnitty has a bad assumption 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) END