]> git.sur5r.net Git - openldap/commitdiff
Make sure tblsize in initialized in ldap_new_select_info()
authorKurt Zeilenga <kurt@openldap.org>
Mon, 16 Nov 1998 23:55:37 +0000 (23:55 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 16 Nov 1998 23:55:37 +0000 (23:55 +0000)
Regenerate configure.

libraries/libldap/os-ip.c

index e1ebac2661c37bcf0c413e2e62b544a1dc197267..b56809cda4bbfc70db365dc80da78e12f291879e 100644 (file)
@@ -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