From owner-cvs-all Sat Jan 9 17:26:38 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA10895 for cvs-all-outgoing; Sat, 9 Jan 1999 17:26:38 -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 RAA10889; Sat, 9 Jan 1999 17:26:36 -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 RAA13997; Sat, 9 Jan 1999 17:26:32 -0800 (PST) Date: Sat, 9 Jan 1999 17:26:32 -0800 (PST) Message-Id: <199901100126.RAA13997@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 17:26:31 PST Modified files: usr.sbin/ppp modem.c physical.c physical.h Log: 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.100 +13 -12 src/usr.sbin/ppp/modem.c 1.7 +2 -7 src/usr.sbin/ppp/physical.c 1.5 +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