Branch: refs/heads/yves/fix_20161
  Home:   https://github.com/Perl/perl5
  Commit: 12c0ea3d5343e5237726e4cc14a35ad800601825
      
https://github.com/Perl/perl5/commit/12c0ea3d5343e5237726e4cc14a35ad800601825
  Author: Yves Orton <[email protected]>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M cop.h

  Log Message:
  -----------
  cop.h - fix warnings about i across setjmp

We can just do the count before and after.


  Commit: 24ae534fc615908429d2be812115f07f724c9ac8
      
https://github.com/Perl/perl5/commit/24ae534fc615908429d2be812115f07f724c9ac8
  Author: Yves Orton <[email protected]>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M pp_ctl.c
    M t/comp/retainedlines.t

  Log Message:
  -----------
  pp_ctl.c - use try_yyparse() for eval

CATCH_GET is never true in this code, so we never called try_yyparse()
which in turn meant we leaked debug data from failed evals. With this
in place an eval that dies during compile will always be handled by
doeval_comp() properly.

This includes changes to t/comp/readlines.t so it tests code that
croaks during compile, which used to leak and fail test but was not
actually tested.

This fixes GH Issue #20161.


  Commit: 85b2fce6a3e1189f32ea8e47f531b62c8afe4a14
      
https://github.com/Perl/perl5/commit/85b2fce6a3e1189f32ea8e47f531b62c8afe4a14
  Author: Yves Orton <[email protected]>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M t/comp/retainedlines.t

  Log Message:
  -----------
  t/comp/retainedlines.t - test eval "UNITCHECK{die}" also

We test BEGIN{die}, but not UNITCHECK{die}. Lets do both.


  Commit: 2fac0abd769040564c6a2715c92415cbcb90c5ad
      
https://github.com/Perl/perl5/commit/2fac0abd769040564c6a2715c92415cbcb90c5ad
  Author: Yves Orton <[email protected]>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M pp_ctl.c
    M t/op/eval.t

  Log Message:
  -----------
  pp_ctl.c - handle UNITCHECK better

Make sure we actually return via pp_evalcomp() when UNITCHECK
inside of an eval dies.

Thanks to Bram for the work figuring this out.


Compare: https://github.com/Perl/perl5/compare/757dc7a8e19f...2fac0abd7690

Reply via email to