From owner-freebsd-hackers Sat Oct 14 15:34:30 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA20228 for hackers-outgoing; Sat, 14 Oct 1995 15:34:30 -0700 Received: from port09.hubbard2.t.ic.net (root@port09.hubbard2.t.ic.net [152.160.88.9]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA20207 ; Sat, 14 Oct 1995 15:34:24 -0700 Received: (from rob@localhost) by port09.hubbard2.t.ic.net (8.6.12/8.6.9) id SAA00436; Sat, 14 Oct 1995 18:27:44 -0400 Posted-Date: Sat, 14 Oct 1995 18:27:44 -0400 Message-Id: <199510142227.SAA00436@port09.hubbard2.t.ic.net> Subject: getdtablesize() broken? To: hackers@freefall.FreeBSD.org Date: Sat, 14 Oct 1995 18:27:42 -0400 (EDT) Cc: current@freefall.FreeBSD.org From: "Rob Misiak" Reply-To: rdm@ic.net X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 465 Sender: owner-hackers@FreeBSD.org Precedence: bulk I was messing around with a program that calls select() - for some reason I kept getting EINVAL. So I twiddled with the sources a bit, and found that giving 64 as the first argument to select() (rather than getdtablesize()) fixed the error. Is this a problem with one of the two functions? The program is known to work on many other systems, and it did for me when I was using FreeBSD 2.0, so I don't think it is the problem. (BTW, I'm using 2.2-current now.) Rob