From owner-freebsd-hackers Sat Jun 21 02:31:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA20903 for hackers-outgoing; Sat, 21 Jun 1997 02:31:51 -0700 (PDT) Received: from verdi.nethelp.no (verdi.nethelp.no [195.1.171.130]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id CAA20892 for ; Sat, 21 Jun 1997 02:31:46 -0700 (PDT) From: sthaug@nethelp.no Received: (qmail 23233 invoked by uid 1001); 21 Jun 1997 09:31:43 +0000 (GMT) To: marcs@znep.com Cc: hackers@FreeBSD.ORG Subject: Re: gethostbyname() and fds >255 In-Reply-To: Your message of "Sat, 21 Jun 1997 03:26:48 -0600 (MDT)" References: X-Mailer: Mew version 1.05+ on Emacs 19.28.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Sat, 21 Jun 1997 11:31:43 +0200 Message-ID: <23231.866885503@verdi.nethelp.no> Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > The problem is in res_send(). In lib/libc/net/res_send.c line 577 in > > FreeBSD-current we have: > > Sigh. Yes, that's it. I found it an hour or so ago looking through > things. For a test, rebuilding libc with FD_SETSIZE=1024 then linking it > against my test program worked fine. Btw, I just reported it to bind-bugs@isc.org and pointed out that as a minimum a res_send() dependency on FD_SETSIZE should be documented. Steinar Haug, Nethelp consulting, sthaug@nethelp.no