summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
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]);
}