summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-31 04:18:19 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-31 04:18:19 +0000
commit971f4bf107c4114680b92221b21d1da9ec393811 (patch)
treede9b95819c91a06aaabb4a80cfa3b51e4a43e478 /sv.c
parent309a139e25ad5904ea3df36d8c769e05300b3585 (diff)
downloadperl-971f4bf107c4114680b92221b21d1da9ec393811.tar.gz
The #6929 was too skimpy.
p4raw-id: //depot/perl@6936
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 5cdcbf9dbe..0fdae01779 100644
--- a/sv.c
+++ b/sv.c
@@ -2212,7 +2212,7 @@ Perl_sv_2pv(pTHX_ register SV *sv, STRLEN *lp)
* --jhi Sep 1999 */
if (SvTYPE(sv) < SVt_PVNV)
sv_upgrade(sv, SVt_PVNV);
- SvGROW(sv, NV_DIG + 1);
+ SvGROW(sv, NV_DIG + 10); /* sign, decimal separator, e+NNNNN, nul */
s = SvPVX(sv);
olderrno = errno; /* some Xenix systems wipe out errno here */
#ifdef apollo