consistency with pthread stack min in limits.h
authorRich Felker <dalias@aerifal.cx>
Fri, 8 Apr 2011 16:15:37 +0000 (12:15 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 8 Apr 2011 16:15:37 +0000 (12:15 -0400)
src/conf/sysconf.c

index a660257d6fbf7db265e4f44121a1f7273ea105d0..11a628836cfb35412c4081ecefcff2cd8c4cb5e8 100644 (file)
@@ -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] = 2*PAGE_SIZE,
+               [_SC_THREAD_STACK_MIN] = PAGE_SIZE,
                [_SC_THREAD_THREADS_MAX] = -1,
                [_SC_THREAD_ATTR_STACKADDR] = -1,
                [_SC_THREAD_ATTR_STACKSIZE] = VER,