pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/p5-Want
Module Name: pkgsrc
Committed By: wen
Date: Fri Mar 4 13:26:07 UTC 2016
Modified Files:
pkgsrc/devel/p5-Want: Makefile distinfo
Log Message:
Update to 0.29
Upstream changes:
0.27 Thu 25 Feb 2016 21:26:04 GMT
- perl 5.23.8 breaks the hack we were using to implement double_return.
This patch from David Mitchell fixes it. See https://rt.cpan.org/Ticket/Display.html?id=112226
David wrote:
> Running with a debugging perl-5.23.8 will show assertion failures in the Want test suite. It's because PL_comppad/PL_curpad save/restore is now done by the context stack / cx_popsub() rather
than as previously on the savestack / LEAVE.
> This stops the double_return() 'convert CXt_SUB to CXt_NULL' hack from working properly, as PL_comppad is no longer restored when transitioning from the inner to outer sub. The attached patch
substitutes one evil hack for another: it keeps the CXt_SUB context stack entry, but sets its retop field to point to the return op again (rather than its caller) so that the return op gets called
twice (with a bit of markstack hackery to ensure there are two marks for the two returns to pop).
> rreturn and lnoreturn are also a bit under-tested. In particular, there are no tests for rreturn in list context. I added such a test, but more need adding.
> I can see this hack breaking again in the future. Perhaps in the long term
> rreturn() and lnoreturn() should be implemented using custom ops???
> Dave M.
0.28 Thu 25 Feb 2016 22:02:42 GMT
- Fix test failure in 5.14
- Fix test failure in 5.23.9 (using a patch from Slaven Rezic)
http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Want-0.26-RT112226.patch
0.29 Fri 26 Feb 2016 04:42:19 GMT
- Restore compatibility with certain older perl versions (5.10 and 5.12)
It seems that �𦯷TTRS: lvalue�� doesn�脌 work with older perls, but that you can
forward-declare the method in Perl code with the :lvalue attribute with the same
effect.
This version of Want is still broken with perl 5.8, for reasons I haven�脌 investigated.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/p5-Want/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/p5-Want/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index