ALT Linux Bugzilla
– Attachment 3532 Details for
Bug 20035
Failed to build with gcc4.4
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
gcc4.patch
gcc4.patch (text/plain), 1.37 KB, created by
Vladimir V. Kamarzin
on 2009-05-14 09:11:46 MSD
(
hide
)
Description:
gcc4.patch
Filename:
MIME Type:
Creator:
Vladimir V. Kamarzin
Created:
2009-05-14 09:11:46 MSD
Size:
1.37 KB
patch
obsolete
>diff --git a/openldap/include/ldap_pvt_thread.h b/openldap/include/ldap_pvt_thread.h >index c8340a4..90173b2 100644 >--- a/openldap/include/ldap_pvt_thread.h >+++ b/openldap/include/ldap_pvt_thread.h >@@ -57,12 +57,12 @@ ldap_pvt_thread_set_concurrency LDAP_P(( int )); > > #ifndef LDAP_PVT_THREAD_H_DONE > #define LDAP_PVT_THREAD_SET_STACK_SIZE >-#ifndef LDAP_PVT_THREAD_STACK_SIZE >- /* LARGE stack. Will be twice as large on 64 bit machine. */ >-#define LDAP_PVT_THREAD_STACK_SIZE ( 1 * 1024 * 1024 * sizeof(void *) ) > /* May be explicitly defined to zero to disable it */ >-#elif LDAP_PVT_THREAD_STACK_SIZE == 0 >+#if defined( LDAP_PVT_THREAD_STACK_SIZE ) && LDAP_PVT_THREAD_STACK_SIZE == 0 > #undef LDAP_PVT_THREAD_SET_STACK_SIZE >+#elif !defined(LDAP_PVT_THREAD_STACK_SIZE) >+ /* LARGE stack. Will be twice as large on 64 bit machine. */ >+#define LDAP_PVT_THREAD_STACK_SIZE ( 1 * 1024 * 1024 * sizeof(void *) ) > #endif > #endif /* !LDAP_PVT_THREAD_H_DONE */ > >diff --git a/openldap/libraries/libldap/os-ip.c b/openldap/libraries/libldap/os-ip.c >index 3eeff06..97f1877 100644 >--- a/openldap/libraries/libldap/os-ip.c >+++ b/openldap/libraries/libldap/os-ip.c >@@ -652,7 +652,7 @@ ldap_host_connected_to( Sockbuf *sb, const char *host ) > char *herr; > #ifdef NI_MAXHOST > char hbuf[NI_MAXHOST]; >-#elif defined( MAXHOSTNAMELEN >+#elif defined( MAXHOSTNAMELEN ) > char hbuf[MAXHOSTNAMELEN]; > #else > char hbuf[256];
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20035
: 3532