View | Details | Raw Unified | Return to bug 20035
Collapse All | Expand All

(-)a/openldap/include/ldap_pvt_thread.h (-4 / +4 lines)
Lines 57-68 ldap_pvt_thread_set_concurrency LDAP_P(( int )); Link Here
57
57
58
#ifndef LDAP_PVT_THREAD_H_DONE
58
#ifndef LDAP_PVT_THREAD_H_DONE
59
#define	LDAP_PVT_THREAD_SET_STACK_SIZE
59
#define	LDAP_PVT_THREAD_SET_STACK_SIZE
60
#ifndef LDAP_PVT_THREAD_STACK_SIZE
61
	/* LARGE stack. Will be twice as large on 64 bit machine. */
62
#define LDAP_PVT_THREAD_STACK_SIZE	( 1 * 1024 * 1024 * sizeof(void *) )
63
/* May be explicitly defined to zero to disable it */
60
/* May be explicitly defined to zero to disable it */
64
#elif LDAP_PVT_THREAD_STACK_SIZE == 0
61
#if defined( LDAP_PVT_THREAD_STACK_SIZE ) && LDAP_PVT_THREAD_STACK_SIZE == 0
65
#undef LDAP_PVT_THREAD_SET_STACK_SIZE
62
#undef LDAP_PVT_THREAD_SET_STACK_SIZE
63
#elif !defined(LDAP_PVT_THREAD_STACK_SIZE)
64
	/* LARGE stack. Will be twice as large on 64 bit machine. */
65
#define LDAP_PVT_THREAD_STACK_SIZE	( 1 * 1024 * 1024 * sizeof(void *) )
66
#endif
66
#endif
67
#endif /* !LDAP_PVT_THREAD_H_DONE */
67
#endif /* !LDAP_PVT_THREAD_H_DONE */
68
68
(-)a/openldap/libraries/libldap/os-ip.c (-1 / +1 lines)
Lines 652-658 ldap_host_connected_to( Sockbuf *sb, const char *host ) Link Here
652
		char *herr;
652
		char *herr;
653
#ifdef NI_MAXHOST
653
#ifdef NI_MAXHOST
654
		char hbuf[NI_MAXHOST];
654
		char hbuf[NI_MAXHOST];
655
#elif defined( MAXHOSTNAMELEN
655
#elif defined( MAXHOSTNAMELEN )
656
		char hbuf[MAXHOSTNAMELEN];
656
		char hbuf[MAXHOSTNAMELEN];
657
#else
657
#else
658
		char hbuf[256];
658
		char hbuf[256];

Return to bug 20035