diff options
author | Karl Williamson <khw@cpan.org> | 2022-09-29 12:56:06 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-10-18 06:22:16 -0600 |
commit | 505ba11509259ba60519468c48f93e43da72a481 (patch) | |
tree | 988d97c8cec74c47413b09a622ca6b46a550d144 /locale.c | |
parent | 644641ff58ccf88bd860ef5517a40d1fb27bf022 (diff) | |
download | perl-505ba11509259ba60519468c48f93e43da72a481.tar.gz |
Revert code changes for Workaround for attributes.pm breakage
This partially reverts ebb1d9ce1d2cad3a1ef580148b3788cba3524319.
The real fix for this problem has now been committed, so the workaround
can be reverted, leaving the tests.
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -5156,15 +5156,6 @@ Perl_init_i18nl10n(pTHX_ int printwarn) /* Done with finding the locales; update the auxiliary records */ new_LC_ALL(NULL); -# if defined(USE_POSIX_2008_LOCALE) && defined(USE_LOCALE_NUMERIC) - - /* This is a temporary workaround for #20155, to avoid issues where the - * global locale wants a radix different from the per-thread one. This - * restores behavior for LC_NUMERIC to what it was before a7ff7ac. */ - posix_setlocale(LC_NUMERIC, "C"); - -# endif - for (i = 0; i < NOMINAL_LC_ALL_INDEX; i++) { Safefree(curlocales[i]); } |