From owner-cvs-all Wed Jul 12 15:48:39 2000 Delivered-To: cvs-all@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 842DF37C358; Wed, 12 Jul 2000 15:48:35 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id PAA51987; Wed, 12 Jul 2000 15:48:28 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.9.3/8.9.3) id PAA41581; Wed, 12 Jul 2000 15:47:40 -0700 (PDT) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200007122246.PAA19559@freefall.freebsd.org> Date: Wed, 12 Jul 2000 15:47:40 -0700 (PDT) Organization: BSD, Inc. From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/kern sys_generic.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 12-Jul-00 John Baldwin wrote: > jhb 2000/07/12 15:46:41 PDT > > Modified files: > sys/kern sys_generic.c > Log: > Fix a very obscure bug in select() and poll() where the timeout would > never expire if poll() or select() was called before the system had been > in multiuser for 1 second. This was caused by only checking to see if > tv_sec was zero rather than checking both tv_sec and tv_usec. This fixes the recent hangs in sysinstall in -current where you had to press a key to get sysinstall to continue. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message