diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-30 11:15:12 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-30 11:15:12 +0000 |
commit | a453c1697467fe606ef79b5ab7a0eafaa8e78e7a (patch) | |
tree | 861b2d7ac5de461c3c5bf8f31bd484b3001f083e /util.c | |
parent | 6063ba187760a62f10a97ba9dd6ff5a93107bb51 (diff) | |
download | perl-a453c1697467fe606ef79b5ab7a0eafaa8e78e7a.tar.gz |
Change PL_numeric_radix to PL_numeric_radix_sv (and leave in
a dummy for PL_numeric_radix); no pressing reason to break
binary compatibility; regen API.
p4raw-id: //depot/perl@9910
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -577,18 +577,18 @@ Perl_set_numeric_radix(pTHX) lc = localeconv(); if (lc && lc->decimal_point) { if (lc->decimal_point[0] == '.' && lc->decimal_point[1] == 0) { - SvREFCNT_dec(PL_numeric_radix); - PL_numeric_radix = 0; + SvREFCNT_dec(PL_numeric_radix_sv); + PL_numeric_radix_sv = Nullsv; } else { - if (PL_numeric_radix) - sv_setpv(PL_numeric_radix, lc->decimal_point); + if (PL_numeric_radix_sv) + sv_setpv(PL_numeric_radix_sv, lc->decimal_point); else - PL_numeric_radix = newSVpv(lc->decimal_point, 0); + PL_numeric_radix_sv = newSVpv(lc->decimal_point, 0); } } else - PL_numeric_radix = 0; + PL_numeric_radix_sv = Nullsv; # endif /* HAS_LOCALECONV */ #endif /* USE_LOCALE_NUMERIC */ } |