From: Jarkko Hietaniemi Date: Thu, 10 Aug 2000 21:48:26 +0000 (+0000) Subject: Revert the sv.c part of #6559, a better fix is needed. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bf24ccfabc44ce9281e73f298279caca3c8d1164;p=p5sagit%2Fp5-mst-13.2.git Revert the sv.c part of #6559, a better fix is needed. p4raw-id: //depot/perl@6573 --- diff --git a/sv.c b/sv.c index 92c53ee..382805f 100644 --- a/sv.c +++ b/sv.c @@ -6563,8 +6563,12 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV *--eptr = '#'; *--eptr = '%'; - (void)sprintf(PL_efloatbuf, eptr, nv); - + { + RESTORE_NUMERIC_STANDARD(); + (void)sprintf(PL_efloatbuf, eptr, nv); + RESTORE_NUMERIC_LOCAL(); + } + eptr = PL_efloatbuf; elen = strlen(PL_efloatbuf); break;