Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: f769cf8ba02c97d54d27794fe78e7350f35d5eca
      
https://github.com/Perl/perl5/commit/f769cf8ba02c97d54d27794fe78e7350f35d5eca
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Move some comments to proper place

These were misplaced due to a rebasing error.  I don't know if it was me
or git's rere, which I've found screws things up sometimes.


  Commit: e445b006e7dee71875b9a4e8a3cc4d34f2f79603
      
https://github.com/Perl/perl5/commit/e445b006e7dee71875b9a4e8a3cc4d34f2f79603
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Add sanity check at initialization

Check the return code of this libc function.  If it didn't work, there
is only chaos to be had if we continue.


  Commit: 433aa9709a171a7caaa5d5cbe429150a5a01c7dd
      
https://github.com/Perl/perl5/commit/433aa9709a171a7caaa5d5cbe429150a5a01c7dd
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M locale.c

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

This gets set later, but's it's better practice to set it as soon as
possible.


  Commit: 79c6bd015ed156a95e34804e32365e7593d71806
      
https://github.com/Perl/perl5/commit/79c6bd015ed156a95e34804e32365e7593d71806
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Critical section around initializing a global

This code should only have a race in the unlikely event that it is an
embedded perl, and there is another perl already running.  But best to
avoid the possibility at all.


Compare: https://github.com/Perl/perl5/compare/324f14a48535...79c6bd015ed1

Reply via email to