summaryrefslogtreecommitdiff
path: root/form.c
diff options
context:
space:
mode:
authorMichael Schwern <schwern@pobox.com>2002-12-19 00:00:00 -0800
committerMichael Schwern <schwern@pobox.com>2002-12-19 00:00:00 -0800
commitde64de47f7150f9a23ee0bb6d23c1082e8c5e551 (patch)
treed7e8204a6844a4ed5fb571da6a0c47a637af53b8 /form.c
parenta4de7c03d0bdc29d9d3a18abad4ac2628182ed7b (diff)
downloadperl-1.0.15.tar.gz
Perl 1.0.15perl-1.0.15
As a birthday present to Perl and Larry, through the work of the perl1-porters, in particular Richard Clamp, resurrected here is Perl 1.0 with minimal patches for modern machines.
Diffstat (limited to 'form.c')
-rw-r--r--form.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/form.c b/form.c
index 8894621c9f..0c7af03cea 100644
--- a/form.c
+++ b/form.c
@@ -17,7 +17,7 @@
#define CHKLEN(allow) \
if (d - orec->o_str + (allow) >= curlen) { \
curlen = d - orec->o_str; \
- GROWSTR(&orec->o_str,&orec->o_len,orec->o_len + (allow)); \
+ GROWSTR(&orec->o_str,&orec->o_len,orec->o_len + (allow) + 1); \
d = orec->o_str + curlen; /* in case it moves */ \
curlen = orec->o_len - 2; \
}