Subject: Re: pkg/32069
To: None <jlam@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-bugs
Date: 11/23/2005 06:13:02
The following reply was made to PR pkg/32069; it has been noted by GNATS.

From: Roland Illig <rillig@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/32069
Date: Wed, 23 Nov 2005 07:12:34 +0100

 This is a multi-part message in MIME format.
 --------------010603020308010605060506
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Transfer-Encoding: 7bit
 
 This patch fixes the problem, but I don't know about the side effects 
 that it may have.
 
 Roland
 
 --------------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.
 
 --- include/ac/fdset.h.orig	Wed Nov 23 07:07:40 2005
 +++ include/ac/fdset.h	Wed Nov 23 07:07:29 2005
 @@ -23,7 +23,7 @@
  #define _AC_FDSET_H
  
  #if !defined( OPENLDAP_FD_SETSIZE ) && !defined( FD_SETSIZE )
 -#  define OPENLDAP_FD_SETSIZE 4096
 +#  define OPENLDAP_FD_SETSIZE 1024
  #endif
  
  #ifdef OPENLDAP_FD_SETSIZE
 
 --------------010603020308010605060506--