projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dae841
)
Revert the sv.c part of #6559, a better fix is needed.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 10 Aug 2000 21:48:26 +0000
(21:48 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 10 Aug 2000 21:48:26 +0000
(21:48 +0000)
p4raw-id: //depot/perl@6573
sv.c
patch
|
blob
|
history
diff --git
a/sv.c
b/sv.c
index
92c53ee
..
382805f
100644
(file)
--- 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;