mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 21:40:12 +00:00
static: glibc-bug: NL_CURRENT_INDIRECT is broken so disable it
nl_langinfo_l ignores its locale argument with NL_CURRENT_INDIRECT which is wrong when that argument does not match the current thread's locale. upstream glibc is not tested with static linking so this is not found.
This commit is contained in:
parent
94f15a4231
commit
c3d2d246c5
@ -247,8 +247,8 @@ __libc_tsd_define (extern, locale_t, LOCALE)
|
||||
But with thread-local locale settings, it becomes quite ungainly unless
|
||||
we can use __thread variables. So only in that case do we attempt this. */
|
||||
#ifndef SHARED
|
||||
# include <tls.h>
|
||||
# define NL_CURRENT_INDIRECT 1
|
||||
//# include <tls.h>
|
||||
//# define NL_CURRENT_INDIRECT 1
|
||||
#endif
|
||||
|
||||
#ifdef NL_CURRENT_INDIRECT
|
||||
|
Loading…
Reference in New Issue
Block a user