Date: Sat, 9 Jan 1999 17:26:32 -0800 (PST) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp modem.c physical.c physical.h Message-ID: <199901100126.RAA13997@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901100126.RAA13997>