Date: Wed, 20 Feb 2008 02:06:11 +0000 (UTC) From: Rong-En Fan <rafan@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/net/omnitty Makefile ports/net/omnitty/files patch-main.c Message-ID: <200802200206.m1K26B35059093@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rafan 2008-02-20 02:06:11 UTC FreeBSD ports repository Modified files: net/omnitty Makefile Added files: net/omnitty/files patch-main.c Log: - 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) Revision Changes Path 1.6 +1 -0 ports/net/omnitty/Makefile 1.1 +16 -0 ports/net/omnitty/files/patch-main.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802200206.m1K26B35059093>