Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: b0441c5bc62aa2ba1980c5ae151db48af58bcfcf
      
https://github.com/Perl/perl5/commit/b0441c5bc62aa2ba1980c5ae151db48af58bcfcf
  Author: Karl Williamson <k...@cpan.org>
  Date:   2020-10-23 (Fri, 23 Oct 2020)

  Changed paths:
    M t/loc_tools.pl

  Log Message:
  -----------
  t/loc_tools.pl: Consider thread 0 always locale-safe

Test files call this code to see if locales are enabled.  Prior to this
commit, it returned that they were disabled on builds where there are
possible races between threads.  This was to silence some rarely
occurring smoke failures.  But that had the result that such builds
didn't get locales tested at all, even if there was just a single thread
operating.  This commit changes it so that when called from other than
the main thread on such a system, it returns disabled, but enabled for
the main thread.

Reply via email to