Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 4d6de2e9446beedb11b442184296d8c374d12741
      
https://github.com/Perl/perl5/commit/4d6de2e9446beedb11b442184296d8c374d12741
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-11-23 (Wed, 23 Nov 2022)

  Changed paths:
    M MANIFEST
    M pp_ctl.c
    A t/lib/Dies.pm
    M t/op/require_errors.t

  Log Message:
  -----------
  pp_ctl.c - don't let the current cop_file end up empty in @INC hooks


  Commit: a511d7dcd744640a1ebc498a80f1d05411368c83
      
https://github.com/Perl/perl5/commit/a511d7dcd744640a1ebc498a80f1d05411368c83
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-11-23 (Wed, 23 Nov 2022)

  Changed paths:
    M cop.h
    M op.c

  Log Message:
  -----------
  op.c - add support for empty RCPV strings.

Currently we have no need for an empty shared string, but there is no
reason it should not be possible. This patch reworks the internals so it
is possible to create one without triggering asserts. Currently we don't
use this, but it seems reasonable that someone might want it in the
future. Under DEBUGGING we will still assert if someone tries to create
an empty RCPV unless the flag specifies it should be allowed.

At the same time the docs for rcpv_new() have been cleaned up a bit to
be more correct and reflect what actually happens inside.

This changes things so that the len member of the RCPV structure is
always non-zero in a well formed structure by accounting for the null
we add to the end explicitly. The RCPV_LEN() macro continues to return
the old value (not including the null).


  Commit: 69ae4519ab584cc86f0aa519698b760c4fc2ed0d
      
https://github.com/Perl/perl5/commit/69ae4519ab584cc86f0aa519698b760c4fc2ed0d
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-11-23 (Wed, 23 Nov 2022)

  Changed paths:
    M util.c

  Log Message:
  -----------
  util.c - clarify unusual use of rcpv_new()


Compare: https://github.com/Perl/perl5/compare/1583e75a5f94...69ae4519ab58

Reply via email to