Commit
68e8f474bc686a86c064b695b9c7400313d7af65 used the wrong macro to
determine if the operation is within the scope of 'use locale'. It also
has to operate under 'use locale 'not_characters'.
Tests for this are coming in the patch for [perl #118197].
* change to the C locale during the Gconvert and then change back.
* But if we're already in the C locale (PL_numeric_standard is
* TRUE in that case), no need to do any changing */
- if (PL_numeric_standard || IN_LOCALE_RUNTIME) {
+ if (PL_numeric_standard || IN_SOME_LOCALE_FORM_RUNTIME) {
Gconvert(SvNVX(sv), NV_DIG, 0, s);
}
else {