Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: e464e1ed069fae7acb29f65db0bf2c98c4af355a
      
https://github.com/Perl/perl5/commit/e464e1ed069fae7acb29f65db0bf2c98c4af355a
  Author: Karl Williamson <k...@cpan.org>
  Date:   2022-09-10 (Sat, 10 Sep 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Initialize PL_underlying_numeric_obj

This probably doesn't matter, but it's better form to initialize it to a
sane value.


  Commit: 3014c9721628fac7b68b2f59451f4515dcbae96a
      
https://github.com/Perl/perl5/commit/3014c9721628fac7b68b2f59451f4515dcbae96a
  Author: Karl Williamson <k...@cpan.org>
  Date:   2022-09-10 (Sat, 10 Sep 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Use locale change subs at initialization

There are currently 4 functions that do special handling when the locale
for their respective categories changes.  One of these is for LC_ALL,
which has and continues to be called at the end of initialization.

But the other three have changed in recent commits to handle the trivial
case specially of the locale being "C".  These changes now avoid the
complexities required for the general case (that needs everything to be
set up at the time of the call).

They can thus be called early in the initialization precess.  This
avoids having to duplicate their logics in the initialization code,
which has led to some things being overlooked there.  Now everything is
guaranteed to stay in sync.


  Commit: ccbc6a9d874962038ac5a45c8ccfae17180f76ce
      
https://github.com/Perl/perl5/commit/ccbc6a9d874962038ac5a45c8ccfae17180f76ce
  Author: Karl Williamson <k...@cpan.org>
  Date:   2022-09-10 (Sat, 10 Sep 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Remove no-longer necessary conditionals

The previous commit initialized this variable early in start up, so that
we never have to now check that it is non-NULL.


  Commit: c1fa8ffb1b03a17736a6f98a97f7283ca6feba28
      
https://github.com/Perl/perl5/commit/c1fa8ffb1b03a17736a6f98a97f7283ca6feba28
  Author: Karl Williamson <k...@cpan.org>
  Date:   2022-09-10 (Sat, 10 Sep 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  Merge branch 'Change init of certain locale categories' into blead

This series of commits adds initialization for an object, and changes
the initialization process to call, for each locale category that has
one, the specialty function that handles locale changes for that
category, instead of duplicating the logic in the initialization
section.

This allows for the removal of a couple of conditionals that otherwise
would need to be executed each time the locale changes.


Compare: https://github.com/Perl/perl5/compare/360374e28fc8...c1fa8ffb1b03

Reply via email to