Skip to content

Commit c0705fc

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 f514e68 commit c0705fc

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
@@ -5167,15 +5167,6 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
51675167
/* Done with finding the locales; update the auxiliary records */
51685168
new_LC_ALL(NULL);
51695169

5170-
# if defined(USE_POSIX_2008_LOCALE) && defined(USE_LOCALE_NUMERIC)
5171-
5172-
/* This is a temporary workaround for #20155, to avoid issues where the
5173-
* global locale wants a radix different from the per-thread one. This
5174-
* restores behavior for LC_NUMERIC to what it was before a7ff7ac. */
5175-
posix_setlocale(LC_NUMERIC, "C");
5176-
5177-
# endif
5178-
51795170
for (i = 0; i < NOMINAL_LC_ALL_INDEX; i++) {
51805171
Safefree(curlocales[i]);
51815172
}

0 commit comments

Comments
 (0)