From owner-freebsd-hackers Mon Nov 9 11:29:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA11041 for freebsd-hackers-outgoing; Mon, 9 Nov 1998 11:29:37 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA11030 for ; Mon, 9 Nov 1998 11:29:36 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id MAA06998; Mon, 9 Nov 1998 12:29:18 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA05724; Mon, 9 Nov 1998 12:29:18 -0700 Date: Mon, 9 Nov 1998 12:29:18 -0700 Message-Id: <199811091929.MAA05724@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Thomas David Rivers Cc: marcs@znep.com, nate@mt.sri.com, hackers@FreeBSD.ORG Subject: Re: Supporting more than FD_SETSIZE fd's In-Reply-To: <199811091830.NAA24229@lakes.dignus.com> References: <199811091826.LAA05253@mt.sri.com> <199811091830.NAA24229@lakes.dignus.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > - redefine FD_SETSIZE before including sys/types.h. This may seem to be a > > > pain, but in most large projects you should have some common header files > > > you can use for that anyway. This doesn't fix any libraries that you use > > > though, which may use select() internally with a small FD_SETSIZE. > > > > No external libraries are used except for Motif. I'm not sure if it > > uses Select, but I doubt it. In any case, I'm still defaulting to a > > larger limit, which is still not a great solution. > > I believe you'll find that X11 (on which Motif is based) does use > select(). Maybe, but I'm not worrying about X11 not doing the right thing, since I believe that part of the code is working... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message