Skip to content

Commit

Permalink
Revert code changes for Workaround for attributes.pm breakage
Browse files Browse the repository at this point in the history
This partially reverts ebb1d9c.

The real fix for this problem has now been committed, so the workaround
can be reverted, leaving the tests.
  • Loading branch information
khwilliamson committed Sep 29, 2022
1 parent ade885e commit b9e71aa
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions locale.c
Original file line number Diff line number Diff line change
Expand Up @@ -5173,15 +5173,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]);
}
Expand Down

0 comments on commit b9e71aa

Please sign in to comment.