From 86fc474a500d78571ecc5fa0cad1827db796a71f Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 16 Nov 1998 23:55:37 +0000 Subject: [PATCH] Make sure tblsize in initialized in ldap_new_select_info() Regenerate configure. --- libraries/libldap/os-ip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/libldap/os-ip.c b/libraries/libldap/os-ip.c index e1ebac2661..b56809cda4 100644 --- a/libraries/libldap/os-ip.c +++ b/libraries/libldap/os-ip.c @@ -293,6 +293,8 @@ do_ldap_select( LDAP *ld, struct timeval *timeout ) tblsize = sysconf( _SC_OPEN_MAX ); #elif defined( HAVE_GETDTABLESIZE ) tblsize = getdtablesize(); +#else + tblsize = FD_SETSIZE; #endif /* !USE_SYSCONF */ #ifdef FD_SETSIZE -- 2.39.5