summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorChip Salzenberg <chip@pobox.com>2009-07-09 00:39:41 -0700
committerChip Salzenberg <chip@pobox.com>2009-07-09 00:39:41 -0700
commit1640e9f0f39bf8108370c2f5d99bb100fe6c9418 (patch)
tree95f2c510cd54225bf2a792d66fa72c6084e38ee6 /dump.c
parentb074547015307bfbdc79cc38e4fa950923593d93 (diff)
downloadperl-1640e9f0f39bf8108370c2f5d99bb100fe6c9418.tar.gz
fix segfault in -Dx without threads
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dump.c b/dump.c
index bf122700bc..79acd091d5 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;