From b8c3f8eba65f6a8c76a0e77cc7621b130ffaa428 Mon Sep 17 00:00:00 2001 From: Kiyoka Nishiyama Date: Wed, 25 Mar 2015 22:27:04 +0900 Subject: [PATCH] Bugfix patch of reserve_stack() function. --- thread_pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thread_pthread.c b/thread_pthread.c index 6240957..cd76635 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -661,7 +661,7 @@ reserve_stack(volatile char *limit, size_t size) # error needs alloca() # endif struct rlimit rl; - volatile char buf[0x100]; + volatile char buf[0x1000]; STACK_GROW_DIR_DETECTION; if (!getrlimit(RLIMIT_STACK, &rl) && rl.rlim_cur == RLIM_INFINITY) -- 2.3.3