This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dad3338
)
-Dx could coredump on threaded builds because consts are now
author
Dave Mitchell
<davem@fdisolutions.com>
Thu, 19 Feb 2004 13:43:18 +0000
(13:43 +0000)
committer
Dave Mitchell
<davem@fdisolutions.com>
Thu, 19 Feb 2004 13:43:18 +0000
(13:43 +0000)
stored in the pad
p4raw-id: //depot/perl@22343
dump.c
patch
|
blob
|
blame
|
history
diff --git
a/dump.c
b/dump.c
index
17e132b
..
798c331
100644
(file)
--- a/
dump.c
+++ b/
dump.c
@@
-659,7
+659,11
@@
Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, OP *o)
break;
case OP_CONST:
case OP_METHOD_NAMED:
+#ifndef USE_ITHREADS
+ /* with ITHREADS, consts are stored in the pad, and the right pad
+ * may not be active here, so skip */
Perl_dump_indent(aTHX_ level, file, "SV = %s\n", SvPEEK(cSVOPo_sv));
+#endif
break;
case OP_SETSTATE:
case OP_NEXTSTATE: