develooper Front page | perl.perl5.changes | Postings from September 2021

[Perl/perl5] e0f952: Check for NULL locale in S_emulate_setlocale

From:
Hugo van der Sanden via perl5-changes
Date:
September 12, 2021 23:20
Subject:
[Perl/perl5] e0f952: Check for NULL locale in S_emulate_setlocale
Message ID:
Perl/perl5/push/refs/heads/blead/001647-e0f952@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: e0f95237e410dc356b393fde2beec8ec83d476ef
      https://github.com/Perl/perl5/commit/e0f95237e410dc356b393fde2beec8ec83d476ef
  Author: Hugo van der Sanden <hv@crypt.org>
  Date:   2021-09-12 (Sun, 12 Sep 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  Check for NULL locale in S_emulate_setlocale

gcc-11.2.0 correctly warns that it is called with NULL from
Perl_switch_to_global_locale().





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About