develooper Front page | perl.perl5.changes | Postings from May 2020

[Perl/perl5] 69d4d9: fix utf8 length magic handling for scalarreverse

From:
Tony Cook
Date:
May 27, 2020 08:09
Subject:
[Perl/perl5] 69d4d9: fix utf8 length magic handling for scalarreverse
Message ID:
Perl/perl5/push/refs/heads/blead/fe49b8-e2d0e9@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 69d4d9c8182035ceb44091b35b4b34a326a6f058
      https://github.com/Perl/perl5/commit/69d4d9c8182035ceb44091b35b4b34a326a6f058
  Author: Tony Cook <tony@develop-help.com>
  Date:   2020-05-27 (Wed, 27 May 2020)

  Changed paths:
    M pp.c
    M t/op/reverse.t

  Log Message:
  -----------
  fix utf8 length magic handling for scalar reverse

fixes #17737


  Commit: e2d0e9a5d1dd29d4005ca9a3e73222eeabd9e2b7
      https://github.com/Perl/perl5/commit/e2d0e9a5d1dd29d4005ca9a3e73222eeabd9e2b7
  Author: Tony Cook <tony@develop-help.com>
  Date:   2020-05-27 (Wed, 27 May 2020)

  Changed paths:
    M pp.c
    M t/op/index.t

  Log Message:
  -----------
  set magic on $lex for $lex = (index(...) == -1) and make it an lvalue

related to #17737 and fixes #17739

re-work of my original patch that only pushes the final result


Compare: https://github.com/Perl/perl5/compare/fe49b83f9194...e2d0e9a5d1dd



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About