From b3b00d11e87926b553429d341b020a8a070e4ea1 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 3 Oct 2011 00:03:19 -0400 Subject: [PATCH] sysconf for PTHREAD_KEYS_MAX --- src/conf/sysconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf/sysconf.c b/src/conf/sysconf.c index 1557aa54..28232a77 100644 --- a/src/conf/sysconf.c +++ b/src/conf/sysconf.c @@ -82,7 +82,7 @@ long sysconf(int name) [_SC_LOGIN_NAME_MAX] = 256, [_SC_TTY_NAME_MAX] = TTY_NAME_MAX, [_SC_THREAD_DESTRUCTOR_ITERATIONS] = _POSIX_THREAD_DESTRUCTOR_ITERATIONS, - [_SC_THREAD_KEYS_MAX] = -1, + [_SC_THREAD_KEYS_MAX] = PTHREAD_KEYS_MAX, [_SC_THREAD_STACK_MIN] = PTHREAD_STACK_MIN, [_SC_THREAD_THREADS_MAX] = -1, [_SC_THREAD_ATTR_STACKADDR] = -1, -- 2.25.1