From: Rich Felker Date: Fri, 8 Apr 2011 16:16:24 +0000 (-0400) Subject: better fix sysconf pthread stack min X-Git-Tag: v0.7.8~28 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=67e793e5e14fe031569117fd88328268e67ad4ee;p=oweals%2Fmusl.git better fix sysconf pthread stack min --- diff --git a/src/conf/sysconf.c b/src/conf/sysconf.c index 11a62883..1c0ae88d 100644 --- a/src/conf/sysconf.c +++ b/src/conf/sysconf.c @@ -83,7 +83,7 @@ long sysconf(int name) [_SC_TTY_NAME_MAX] = TTY_NAME_MAX, [_SC_THREAD_DESTRUCTOR_ITERATIONS] = _POSIX_THREAD_DESTRUCTOR_ITERATIONS, [_SC_THREAD_KEYS_MAX] = -1, - [_SC_THREAD_STACK_MIN] = PAGE_SIZE, + [_SC_THREAD_STACK_MIN] = PTHREAD_STACK_MIN, [_SC_THREAD_THREADS_MAX] = -1, [_SC_THREAD_ATTR_STACKADDR] = -1, [_SC_THREAD_ATTR_STACKSIZE] = VER,