summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorLarry Wall <lwall@sems.com>1996-02-08 12:31:04 -0800
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-02-08 12:31:04 -0800
commita38d6535f8637d53561bc3663eb96f6c054d0bbb (patch)
treec3947eea2928ee188b27428a3713615c550b38f9 /scope.c
parentc0c09dfd3cf50dacd0bf01dff34b4904c5ed1cc6 (diff)
downloadperl-a38d6535f8637d53561bc3663eb96f6c054d0bbb.tar.gz
Re: Beta3: Fix for SEGV on deep nesting
Change message to 'gamma'. Here's a "gamma safe" patch.
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index 79740dc712..3f4860990d 100644
--- a/scope.c
+++ b/scope.c
@@ -30,7 +30,7 @@ I32
cxinc()
{
cxstack_max = cxstack_max * 3 / 2;
- Renew(cxstack, cxstack_max, CONTEXT);
+ Renew(cxstack, cxstack_max + 1, CONTEXT); /* XXX should fix CXINC macro */
return cxstack_ix + 1;
}