From: Gurusamy Sarathy Date: Mon, 2 Aug 1999 07:51:18 +0000 (+0000) Subject: fix coredump under usethreads+debug X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=14ed4b74cfa49ef83b0502631c5f6bc2d3fe18d1;p=p5sagit%2Fp5-mst-13.2.git fix coredump under usethreads+debug p4raw-id: //depot/perl@3876 --- diff --git a/util.c b/util.c index 1892c27..762be7b 100644 --- a/util.c +++ b/util.c @@ -3407,6 +3407,7 @@ Perl_new_struct_thread(pTHX_ struct perl_thread *t) PL_screamnext = 0; PL_reg_start_tmp = 0; PL_reg_start_tmpl = 0; + PL_reg_poscache = Nullch; /* parent thread's data needs to be locked while we make copy */ MUTEX_LOCK(&t->mutex);