2009-11-16 09:54:19 +01:00
|
|
|
Index: nscd/nscd.h
|
|
|
|
===================================================================
|
|
|
|
--- nscd/nscd.h.orig
|
|
|
|
+++ nscd/nscd.h
|
|
|
|
@@ -59,7 +59,12 @@ typedef enum
|
2009-02-20 08:46:43 +01:00
|
|
|
|
|
|
|
/* Maximum size of stack frames we allow the thread to use. We use
|
|
|
|
80% of the thread stack size. */
|
|
|
|
-#define MAX_STACK_USE ((8 * NSCD_THREAD_STACKSIZE) / 10)
|
|
|
|
+// #define MAX_STACK_USE ((8 * NSCD_THREAD_STACKSIZE) / 10)
|
|
|
|
+/* alloca() calls use extra space on stack that we cannot reliably
|
|
|
|
+ account for, the optimization effect is not that big and they are
|
|
|
|
+ prone to hard-to-debug crashes. In short, they are much more trouble
|
|
|
|
+ than they are worth. */
|
|
|
|
+#define MAX_STACK_USE 0
|
|
|
|
|
|
|
|
|
|
|
|
/* Structure describing dynamic part of one database. */
|