summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-04-12 18:52:49 +0000
committerNicholas Clark <nick@ccl4.org>2007-04-12 18:52:49 +0000
commit5892a4d46c7c2069892f8918ef1f02a94c09a1a4 (patch)
tree084aa63d2980283a31b72db48e956c13eb10e829 /sv.c
parent0447b54dc796c23de9d6f7be6b6eef094e586787 (diff)
downloadperl-5892a4d46c7c2069892f8918ef1f02a94c09a1a4.tar.gz
Fix two errors in the OP debugging code. Now all test errors relate
to newCONSTSUB(). p4raw-id: //depot/perl@30936
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index 5d84cb316c..4ce70719dd 100644
--- a/sv.c
+++ b/sv.c
@@ -10932,6 +10932,10 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
HINTS_REFCNT_UNLOCK;
}
PL_curcop = (COP*)any_dup(proto_perl->Tcurcop, proto_perl);
+#ifdef PERL_DEBUG_READONLY_OPS
+ PL_slabs = NULL;
+ PL_slab_count = 0;
+#endif
/* pseudo environmental stuff */
PL_origargc = proto_perl->Iorigargc;