From owner-cvs-all Wed Jul 12 15:59: 9 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 445FE37C1D5; Wed, 12 Jul 2000 15:59:06 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id PAA20956; Wed, 12 Jul 2000 15:59:06 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Wed, 12 Jul 2000 15:59:06 -0700 (PDT) From: Kris Kennaway To: John Baldwin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern sys_generic.c In-Reply-To: <200007122246.PAA19559@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 12 Jul 2000, John Baldwin wrote: > 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. Whoah, good catch! Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message