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

[Perl/perl5] 7ebc59: Prefix "unexpected constant lvalue entersub"with ...

From:
Nicholas Clark via perl5-changes
Date:
September 18, 2021 08:20
Subject:
[Perl/perl5] 7ebc59: Prefix "unexpected constant lvalue entersub"with ...
Message ID:
Perl/perl5/push/refs/heads/blead/5fe711-6a3871@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 7ebc59cd46fc3a16a5785f6a7235a7ee8126aabd
      https://github.com/Perl/perl5/commit/7ebc59cd46fc3a16a5785f6a7235a7ee8126aabd
  Author: Nicholas Clark <nick@ccl4.org>
  Date:   2021-09-18 (Sat, 18 Sep 2021)

  Changed paths:
    M op.c
    M pod/perldiag.pod

  Log Message:
  -----------
  Prefix "unexpected constant lvalue entersub" with "panic: "

In Sep 1999 commit cd06dffe59d6 added various "internal error" croak()s:
    initial implementation of lvalue subroutines (slightly fixed
    version of patch suggested by Ilya Zakharevich, which in turn
    is based on the one suggested by Tuomas J. Lukka <lukka@iki.fi>)

One was "panic: unexpected lvalue entersub entry via type/targ %ld:%ld"
Another "Unexpected constant lvalue entersub entry via type/targ %ld:%ld"

Prefix the latter with "panic: " to make it consistent.


  Commit: 6a3871b339dd83437e4d00d00f6fd5e3e4069cec
      https://github.com/Perl/perl5/commit/6a3871b339dd83437e4d00d00f6fd5e3e4069cec
  Author: Nicholas Clark <nick@ccl4.org>
  Date:   2021-09-18 (Sat, 18 Sep 2021)

  Changed paths:
    M pod/perldiag.pod

  Log Message:
  -----------
  Remove descriptions of deleted "Panics" from perldiag.pod

"Bad hash" and "Can't modify nonexistent substring" were removed in March
2015 as part of commit 3dc78631ef832e5b:
    don't test non-null args

"Can't check filesystem of script "%s" for nosuid"
and "Can't stat script "%s"" were removed in Jan 2009 as part of
commit cc69b689ee7c2745:
    suidperl goes.

"do_study: out of memory" was removed in May 2012 as part of commit
32f0ea87169ccae6:
    Delete the contents of pp_study

"Null realloc" was removed in June 1998 as part of commit 7614df0c0f0d0458:
    added patch, undo earlier workaround
            Subject: Re: Why does saferealloc(NULL,size) croak? [PATCH] against _66
            Message-ID: <35831f69.4975644@smtp1.ibm.net>

"NULL regexp argument" was removed in April 2007 as part of commit
3ab4a224eb8d34c0:
    Re: [PATCH (incomplete)] Make regcomp use SV* sv, instead of char* exp, char* xend
    Message-ID: <51dd1af80704211430m6ad1b4afy49b069faa61e33a9@mail.gmail.com>

"panic: do_subst" was renamed in Dec 2000 as part of commit 2269b42e02cee868:
    Make some panic messages a bit more logical.

"panic: do_trans_%" was removed in Nov 2019 as part of commit f34acfecc286:
    Reimplement tr/// without swashes

"panic: last, type=%u" was removed in May 2015 as part of commit
d3e5e568e186db1f:
    pp_last: only handle loop context types

"panic: leave_scope clearsv" was removed in April 1999 as part of commit
6fc9266916f08dac:
    remove duplicate code and an extra branch in sv_setsv() and
    other hot code by making SvTHINKFIRST() think about FAKE SVs

"panic: strxfrm() gets absurd - a => %u, ab => %u" was removed in April
2016 as part of commit 79f120c89a6e1237:
    Change calculation of locale collation coefficients


Compare: https://github.com/Perl/perl5/compare/5fe711cbde7a...6a3871b339dd



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