From: Chip Salzenberg Date: Thu, 9 Jul 2009 07:39:41 +0000 (-0700) Subject: fix segfault in -Dx without threads X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1640e9f0f39bf8108370c2f5d99bb100fe6c9418;p=p5sagit%2Fp5-mst-13.2.git fix segfault in -Dx without threads --- diff --git a/dump.c b/dump.c index bf12270..79acd09 100644 --- a/dump.c +++ b/dump.c @@ -1040,7 +1040,7 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o) #ifdef USE_ITHREADS Perl_dump_indent(aTHX_ level, file, "PADIX = %" IVdf "\n", (IV)cPADOPo->op_padix); #else - if ( ! (PL_op->op_flags & OPf_SPECIAL)) { /* not lexical */ + if ( ! (o->op_flags & OPf_SPECIAL)) { /* not lexical */ if (cSVOPo->op_sv) { SV * const tmpsv = newSV(0); ENTER;