Subject: Re: pkg/32069
To: None <jlam@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: None <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 11/23/2005 09:39:03
The following reply was made to PR pkg/32069; it has been noted by GNATS.
From: joerg@britannica.bec.de
To: gnats-bugs@netbsd.org
Cc: jlam@netbsd.org
Subject: Re: pkg/32069
Date: Wed, 23 Nov 2005 10:37:46 +0100
On Wed, Nov 23, 2005 at 06:13:02AM +0000, Roland Illig wrote:
>
> This patch fixes the problem, but I don't know about the side effects
> that it may have.
It hacks around the problem. Please do not commit this until all the
consequences are understood.
> --------------010603020308010605060506
> Content-Type: text/plain;
> name="patch-ao"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
> filename="patch-ao"
>
> $NetBSD$
>
> The GNU pthreads library cannot handle FD_SIZE > 1024, but openldap
> overrides that constant. I don't know even why any application should be
> allowed to override FD_SETSIZE.
Because it wants to support more than the default descriptors when using
select. That's a documented procedure and ignoring the O(n^2) nature of
select, it is valid programming. Actually, the incorrectness is most
likely in pth.
Joerg