develooper Front page | perl.perl5.changes | Postings from March 2021

[Perl/perl5] a9bb6a: Perl_do_sv_dump(): handle PL_strtab

From:
iabyn via perl5-changes
Date:
March 9, 2021 17:09
Subject:
[Perl/perl5] a9bb6a: Perl_do_sv_dump(): handle PL_strtab
Message ID:
Perl/perl5/push/refs/heads/blead/edfcb9-cb174a@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: a9bb6a62ae45bb372a5cca98a76d1a79edd89ccb
      https://github.com/Perl/perl5/commit/a9bb6a62ae45bb372a5cca98a76d1a79edd89ccb
  Author: David Mitchell <davem@iabyn.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M dump.c

  Log Message:
  -----------
  Perl_do_sv_dump(): handle PL_strtab

When dumping this special hash, the values in the HE entry are refcounts
rather than SV pointers. sv_dump() used to crash here.


  Commit: cb174a785cca1bace5d049d08be208784028e671
      https://github.com/Perl/perl5/commit/cb174a785cca1bace5d049d08be208784028e671
  Author: David Mitchell <davem@iabyn.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M regexec.c

  Log Message:
  -----------
  Perl_regexec_flags(): fixup code comments

One comment there since 5.000 had become meaningless, so remove it;
add a couple of of other code comments to compensate.


Compare: https://github.com/Perl/perl5/compare/edfcb93db2c5...cb174a785cca



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