summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-08-28 17:21:09 -0600
committerKarl Williamson <khw@cpan.org>2017-11-08 20:52:52 -0700
commit892e646556f1997b0384dc508d3223c2c2a7be74 (patch)
tree0789fa4b3c67af8a23eef78b216d951a41530679 /sv.c
parent755599dacf0896e06380d44bf5f7dd624678415a (diff)
downloadperl-892e646556f1997b0384dc508d3223c2c2a7be74.tar.gz
Change name of locale per-interpreter variable
The real purpose of this internal variable is to give the name of the locale that is the underlying one for the C program. Various macros already indicate that. This furthers the process.
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sv.c b/sv.c
index 1e173ed48e..225e5c855a 100644
--- a/sv.c
+++ b/sv.c
@@ -3141,7 +3141,7 @@ Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
DECLARATION_FOR_LC_NUMERIC_MANIPULATION;
STORE_LC_NUMERIC_SET_TO_NEEDED();
- local_radix = PL_numeric_local && PL_numeric_radix_sv;
+ local_radix = PL_numeric_underlying && PL_numeric_radix_sv;
if (local_radix && SvCUR(PL_numeric_radix_sv) > 1) {
size += SvCUR(PL_numeric_radix_sv) - 1;
s = SvGROW_mutable(sv, size);
@@ -15337,7 +15337,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
#ifdef USE_LOCALE_NUMERIC
PL_numeric_standard = proto_perl->Inumeric_standard;
- PL_numeric_local = proto_perl->Inumeric_local;
+ PL_numeric_underlying = proto_perl->Inumeric_underlying;
#endif /* !USE_LOCALE_NUMERIC */
/* Did the locale setup indicate UTF-8? */