diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-04 20:42:38 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-04 20:42:38 +0000 |
commit | dd8482fcac1d87406d052ae3262cc452d6d23e15 (patch) | |
tree | 0d62c1738a18bca1cdf19c3818a22ebbfdabb3ea /sv.c | |
parent | 9d9004a9b2b7cfeace32230c040f124d0607259a (diff) | |
download | perl-dd8482fcac1d87406d052ae3262cc452d6d23e15.tar.gz |
Locale tweakery. Add test case for bug id 20000809.003 to op/misc,
create a "fast path" for locale name probing using "locale -a"
if available, squash finally hopefully the s?printf resetting
the numeric locale (since, IIUC perllocale, it never shouldn't).
p4raw-id: //depot/perl@7540
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -6619,15 +6619,7 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV *--eptr = '#'; *--eptr = '%'; - { - STORE_NUMERIC_STANDARD_SET_LOCAL(); -#ifdef USE_LOCALE_NUMERIC - if (!was_standard && maybe_tainted) - *maybe_tainted = TRUE; -#endif - (void)sprintf(PL_efloatbuf, eptr, nv); - RESTORE_NUMERIC_STANDARD(); - } + (void)sprintf(PL_efloatbuf, eptr, nv); eptr = PL_efloatbuf; elen = strlen(PL_efloatbuf); |