From owner-cvs-all Wed Feb 7 15:28:21 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3DAF037B65D; Wed, 7 Feb 2001 15:28:02 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f17NS2M39611; Wed, 7 Feb 2001 15:28:02 -0800 (PST) (envelope-from peter) Message-Id: <200102072328.f17NS2M39611@freefall.freebsd.org> From: Peter Wemm Date: Wed, 7 Feb 2001 15:28:02 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_generic.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG peter 2001/02/07 15:28:02 PST Modified files: sys/kern sys_generic.c Log: The code I picked up from NetBSD in '97 had a nasty bug. It limited the index of the pollfd array to the number of fd's currently open, not the maximum number of fd's. ie: if you had 0,1,2 open, you could not use pollfd slots higher than 20. The specs say we only have to support OPEN_MAX [64] entries but we allow way more than that. Revision Changes Path 1.71 +16 -8 src/sys/kern/sys_generic.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message