Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 2c10e97b4652df01842860cf1827420c32117d26
      
https://github.com/Perl/perl5/commit/2c10e97b4652df01842860cf1827420c32117d26
  Author: Karl Williamson <[email protected]>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M cpan/version/t/07locale.t

  Log Message:
  -----------
  cpan/version/t/07locale.t: Skip if no LC_NUMERIC

If the platform doesn't support LC_NUMERIC, it's not going to be able to
set the locale for that category


  Commit: 6a7aca81ca553c1c29a8288d196211f1b7712c50
      
https://github.com/Perl/perl5/commit/6a7aca81ca553c1c29a8288d196211f1b7712c50
  Author: Karl Williamson <[email protected]>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  Fix querying locale without LC_NUMERIC on platform

This fixes GH #19890.

This cleans up querying the current locale, broken by 996e6b9e17 on
platforms without LC_NUMERIC(*).

That commit was written before we required C99, and being able to move
declarations to not be at the beginning of a block made me realize that
things could be simplified by a bit of refactoring, which this commit
does.

(*): Lack of LC_NUMERIC can be simulated by using

  './Configure -Accflags="-DNO_LOCALE_NUMERIC'


  Commit: 36540e72e5ebd2d98e8833f34b1b25b20553e7cd
      
https://github.com/Perl/perl5/commit/36540e72e5ebd2d98e8833f34b1b25b20553e7cd
  Author: Karl Williamson <[email protected]>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Silence compiler warning

At least one compiler warns that 'this_start' may be uninitialized.
It shouldn't actually happen, but easy enough to initialize to an
illegal value.


Compare: https://github.com/Perl/perl5/compare/c25af7d9772e...36540e72e5eb

Reply via email to