Commit graph

1 commit

Author SHA1 Message Date
Rong-En Fan
792dc31f14 - 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)
2008-02-20 02:06:11 +00:00