Date: Wed, 24 Jun 1998 12:33:39 -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 Makefile bundle.c chat.c datalink.c descriptor.h main.c modem.c mp.c prompt.c server.c Message-ID: <199806241933.MAA22102@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1998/06/24 12:33:38 PDT Modified files: usr.sbin/ppp Makefile bundle.c chat.c datalink.c descriptor.h main.c modem.c mp.c prompt.c server.c Log: o If we come out of select() with only write descriptors that end up writing zero bytes, sleep for 1/10 of a second so that we don't end up using up too much cpu. This should only ever happen on systems that wrongly report a descriptor as writable despite the tty buffer being full. Discussed with: Jeff Evarts o Do an initial run-time check to see if select() alters the passed timeval. This knowledge isn't yet used, but will be soon. Revision Changes Path 1.42 +3 -3 src/usr.sbin/ppp/Makefile 1.23 +6 -3 src/usr.sbin/ppp/bundle.c 1.49 +6 -2 src/usr.sbin/ppp/chat.c 1.12 +7 -4 src/usr.sbin/ppp/datalink.c 1.4 +2 -2 src/usr.sbin/ppp/descriptor.h 1.136 +28 -6 src/usr.sbin/ppp/main.c 1.93 +10 -5 src/usr.sbin/ppp/modem.c 1.11 +3 -2 src/usr.sbin/ppp/mp.c 1.8 +3 -2 src/usr.sbin/ppp/prompt.c 1.21 +3 -2 src/usr.sbin/ppp/server.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806241933.MAA22102>