diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-10 21:48:26 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-10 21:48:26 +0000 |
commit | bf24ccfabc44ce9281e73f298279caca3c8d1164 (patch) | |
tree | 644246d4492bf69496c701efc212d2bc9c271f91 /sv.c | |
parent | 8dae84129f0c598a816cd2005915355714453456 (diff) | |
download | perl-bf24ccfabc44ce9281e73f298279caca3c8d1164.tar.gz |
Revert the sv.c part of #6559, a better fix is needed.
p4raw-id: //depot/perl@6573
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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; |