]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commit
fix unwind()
authorDavid Mitchell <davem@iabyn.com>
Mon, 16 May 2016 13:52:07 +0000 (14:52 +0100)
committerVincent Pit <perl@profvince.com>
Mon, 30 May 2016 12:35:44 +0000 (14:35 +0200)
commite7846e7f6fded4c4a3139054c5206c1480711867
tree74e8cdcc06699185a45cd3966dfd1a09cad74077
parentded730eb90d077625077fa059f47ef321f9c42d1
fix unwind()

Perl 5.23.4 debugging builds added asserts to POPMARK etc that nothing
was underflowing etc. At this point 52-unwind-context.t started failing
with

    Perl_pp_return: Assertion `((my_perl->Imarkstack_ptr) >
    (my_perl->Imarkstack)) || !"MARK underflow"' failed.

Properly pushing a new mark for pp_return to pop rather than doing it
manually seems to fix this.
Upper.xs