Subject: | [PATCH] Stop SEGV's with blead perl (and Perl 5.10-RC1) |
I'm seeing some core dumps with threaded bleadperl builds. After the
following change, the core dumps go away.
--- lib/Devel/Caller.xs.old Wed Nov 21 11:19:41 2007
+++ lib/Devel/Caller.xs Wed Nov 21 11:17:48 2007
@@ -32,7 +32,7 @@
sigil, op, PL_defgv, gv, want_name, cPADOPx(op)->op_padix );
#endif
-#if defined(USE_ITHREADS) && (PERL_VERSION == 8)
+#if defined(USE_ITHREADS) && (PERL_VERSION >= 8)
/* for 5.8 gv will be garbage causing a segfault. bah */
if (want_name) {
return sv_2mortal(newSVpvf(""));