We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 759f440 commit 3d3a0c7Copy full SHA for 3d3a0c7
locale.c
@@ -1696,14 +1696,17 @@ S_new_numeric(pTHX_ const char *newnum)
1696
* such platforms.
1697
*/
1698
1699
- PL_numeric_underlying = TRUE;
1700
1701
/* Save the new name if it isn't the same as the previous one, if any */
1702
if (strNE(PL_numeric_name, newnum)) {
1703
Safefree(PL_numeric_name);
1704
PL_numeric_name = savepv(newnum);
1705
}
1706
+ /* We are in the underlying locale until changed at the end of this
1707
+ * function */
1708
+ PL_numeric_underlying = TRUE;
1709
+
1710
# ifdef USE_POSIX_2008_LOCALE
1711
1712
/* We keep a special object for easy switching to */
0 commit comments