summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-09-29 12:56:06 -0600
committerKarl Williamson <khw@cpan.org>2022-10-18 06:22:16 -0600
commit505ba11509259ba60519468c48f93e43da72a481 (patch)
tree988d97c8cec74c47413b09a622ca6b46a550d144 /locale.c
parent644641ff58ccf88bd860ef5517a40d1fb27bf022 (diff)
downloadperl-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.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/locale.c b/locale.c
index 57744f9d73..9cdaf35e55 100644
--- a/locale.c
+++ b/locale.c
@@ -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]);
}