Date: Fri, 19 Sep 1997 02:42:04 -0700 (PDT) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp main.c modem.c Message-ID: <199709190942.CAA29375@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1997/09/19 02:42:04 PDT
Modified files: (Branch: RELENG_2_2)
usr.sbin/ppp main.c modem.c
Log:
MFC: Don't close(1) in direct mode and then proceed to
isatty(1) ! Keep 0 open for this till the modem's
been set up by either dup()ing 0 or by opening
ctermid(NULL) (if isatty(0)).
Reviewed by: Angelo Turetta <ATuretta@stylo.it>
Revision Changes Path
1.22.2.38 +4 -3 src/usr.sbin/ppp/main.c
1.24.2.21 +2 -2 src/usr.sbin/ppp/modem.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709190942.CAA29375>
