diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-03-18 10:14:58 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-11-22 14:31:25 +0000 |
commit | ad946943cede829e0af07b5e2dd39edbedceebba (patch) | |
tree | 6a0b44c0dc4b5ab3bcfcd0a78f4b38a75c69df87 /locale | |
parent | fe37bbda29628e78737009439c16479663414f45 (diff) | |
download | glibc-ad946943cede829e0af07b5e2dd39edbedceebba.tar.gz glibc-ad946943cede829e0af07b5e2dd39edbedceebba.tar.xz glibc-ad946943cede829e0af07b5e2dd39edbedceebba.zip |
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.
Diffstat (limited to 'locale')
-rw-r--r-- | locale/localeinfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/localeinfo.h b/locale/localeinfo.h index fd43033a19..addb9e0ca6 100644 --- a/locale/localeinfo.h +++ b/locale/localeinfo.h @@ -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 |