summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-11-04 20:42:38 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-04 20:42:38 +0000
commitdd8482fcac1d87406d052ae3262cc452d6d23e15 (patch)
tree0d62c1738a18bca1cdf19c3818a22ebbfdabb3ea /sv.c
parent9d9004a9b2b7cfeace32230c040f124d0607259a (diff)
downloadperl-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.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sv.c b/sv.c
index 5fd6533e43..6feb4890af 100644
--- a/sv.c
+++ b/sv.c
@@ -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);