This commit is contained in:
16
glibc-2.10-nscd-nostack.diff
Normal file
16
glibc-2.10-nscd-nostack.diff
Normal file
@@ -0,0 +1,16 @@
|
||||
--- nscd/nscd.h~ 2009-01-21 02:14:55.875774000 +0100
|
||||
+++ nscd/nscd.h 2009-01-21 02:15:58.519066000 +0100
|
||||
@@ -60,7 +60,12 @@
|
||||
|
||||
/* 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. */
|
Reference in New Issue
Block a user