Re: [squid-users] FD_SETSIZE error when running 'make' on FreeBSD

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 27 May 2008 08:16:52 +0200

On mån, 2008-05-26 at 22:53 -0400, Steve Bertrand wrote:

> Understood, but being someone that is not a programmer by trade,
> especially with C, I don't know how to tell the system (or the compiler)
> not to attempt a redefinition of FD_SETSIZE.

From include/config.h:

/*
 * On some systems, FD_SETSIZE is set to something lower than the
 * actual number of files which can be opened. IRIX is one case,
 * NetBSD is another. So here we increase FD_SETSIZE to our
 * configure-discovered maximum *before* any system includes.
 */
#define CHANGE_FD_SETSIZE 1

Change that to 0

Regards
Henrik

Received on Tue May 27 2008 - 06:16:57 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:14 MDT