Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 88da24e71cc8524d6f16ac2a0f44e6d9ff87e0e5
      
https://github.com/Perl/perl5/commit/88da24e71cc8524d6f16ac2a0f44e6d9ff87e0e5
  Author: Karl Williamson <k...@cpan.org>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M ext/POSIX/lib/POSIX.pm
    M ext/POSIX/lib/POSIX.pod
    M locale.c
    M pod/perldelta.pod

  Log Message:
  -----------
  Address GH #20571

The blamed commit, 04de022, exposed a bug in the module itself.  I will
submit a PR to fix it.

But this ticket did tell me that there was a problem with that commit.
It returned a C language value, CHAR_MAX, which doesn't really have a
corresponding concept in Perl.  Instead we use -1 to indicate that a
positive-valued variable is in some abnormal state.  This commit changes
to do that, and documents the changes, which should have been done in
04de022.


Reply via email to