Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (3m)  pkgsrc-2024Q1 (8d)  pkgsrc-2023Q4 (55d)  pkgsrc-2023Q2 (88d)  pkgsrc-2023Q3 (167d) 

2024-05-26 10:55:46 UTC Now

2016-03-04 13:26:07 UTC MAIN commitmail json YAML

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.

(wen)