New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bleadperl v5.31.1-59-g6eebe43d5f breaks GUGOD/invoker-0.35.tar.gz #17113
Comments
From @andk6eebe43 is the first bad commit S_optimize_op(): remove anti-recursion deferring Xref: https://rt.cpan.org/Ticket/Display.html?id=130167 Sample fail report:http://www.cpantesters.org/cpan/report/4233a800-9930-11e9-be61-77a676735216 Enjoy, |
From @iabynOn Thu, Jul 25, 2019 at 10:51:34PM -0700, (Andreas J. Koenig) (via RT) wrote:
invoker wasn't correctly setting OP_PARENT when slicing in a new op. The diff below fixes it, at least for blead - haven't tested with older Can't update the rt.cpan ticket at the momement as I have forgotten my Inline Patch--- invoker.xs- 2019-08-05 14:21:57.499383885 +0100
+++ invoker.xs 2019-08-05 14:28:05.560706198 +0100
@@ -63,11 +63,17 @@
gv = gv_fetchpvn_flags("self", 4, GV_NOINIT, SVt_PV);
if (SvOK(gv) && SvTYPE(gv) == SVt_PVGV) {
// "$self" was defined as a package variable -- use it
- cUNOPx(arg)->op_first = newGVOP(
+ OP *new_gvop = newGVOP(
gvop->op_type,
gvop->op_flags,
gv
);
+#if PERL_REVISION == 5 && PERL_VERSION >= 26
+ op_sibling_splice(arg, NULL, 1, new_gvop);
+#else
+ cUNOPx(arg)->op_first = new_gvop;
+#endif
+ op_free(gvop);
}
else {
croak("$self not found");
--
You're only as old as you look. |
The RT System itself - Status changed from 'new' to 'open' |
From @TuxOn Mon, 5 Aug 2019 14:34:45 +0100, Dave Mitchell <davem@iabyn.com>
/me spots C++ comments ^^
-- |
From @jkeenanOn Mon, 05 Aug 2019 14:48:56 GMT, hmbrand wrote:
I submitted a patch based on the discussion above in invoker's issue tracker. See: As this is the only CPAN distro found so far to have been affected by the "breaking" commit, I'm marking this Pending Release so that the ticket no longer blocks 5.32.0. If we find other distros so affected, we can re-open this ticket. Thank you very much. |
@jkeenan - Status changed from 'open' to 'pending release' |
Migrated from rt.perl.org#134316 (status was 'pending release')
Searchable as RT134316$
The text was updated successfully, but these errors were encountered: