From owner-cvs-all Sat Jan 9 18:26:18 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA16289 for cvs-all-outgoing; Sat, 9 Jan 1999 18:26:18 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA16284; Sat, 9 Jan 1999 18:26:16 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA17130; Sat, 9 Jan 1999 18:26:12 -0800 (PST) Date: Sat, 9 Jan 1999 18:26:12 -0800 (PST) Message-Id: <199901100226.SAA17130@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp modem.c physical.c physical.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk brian 1999/01/09 18:26:11 PST Modified files: (Branch: RELENG_2_2) usr.sbin/ppp modem.c physical.c physical.h Log: MFC: Only call isatty() when we open our descriptor, and remember the answer. If we later get a descriptor exception from select(), we know that it's a tty (isatty() returns 0 after the exception on a tty) and remember to call modem_LogicalClose(). The upshot of it all is that descriptor exceptions dont leave the tty locked any more. Revision Changes Path 1.24.2.34 +13 -12 src/usr.sbin/ppp/modem.c 1.6.2.1 +2 -7 src/usr.sbin/ppp/physical.c 1.4.2.1 +2 -7 src/usr.sbin/ppp/physical.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message