Skip to content

Commit 0f44207

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 462354f commit 0f44207

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

locale.c

-9
Original file line numberDiff line numberDiff line change
@@ -5156,15 +5156,6 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
51565156
/* Done with finding the locales; update the auxiliary records */
51575157
new_LC_ALL(NULL);
51585158

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

0 commit comments

Comments
 (0)