Skip to content

Commit 18d3710

Browse files
committed
Revert code changes for Workaround for attributes.pm breakage
This partially reverts ebb1d9c. The real fix for this problem has now been committed, so the workaround can be reverted, leaving the tests.
1 parent 81d5a8c commit 18d3710

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

locale.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5153,15 +5153,6 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
51535153
/* Done with finding the locales; update the auxiliary records */
51545154
new_LC_ALL(NULL);
51555155

5156-
# if defined(USE_POSIX_2008_LOCALE) && defined(USE_LOCALE_NUMERIC)
5157-
5158-
/* This is a temporary workaround for #20155, to avoid issues where the
5159-
* global locale wants a radix different from the per-thread one. This
5160-
* restores behavior for LC_NUMERIC to what it was before a7ff7ac. */
5161-
posix_setlocale(LC_NUMERIC, "C");
5162-
5163-
# endif
5164-
51655156
for (i = 0; i < NOMINAL_LC_ALL_INDEX; i++) {
51665157
Safefree(curlocales[i]);
51675158
}

0 commit comments

Comments
 (0)