In perl.git, the branch blead has been updated

<https://perl5.git.perl.org/perl.git/commitdiff/7948efd4698ec5639b8de124f836d9d3064798cb?hp=7c21f0042bbf5d88b72d07661d64903e627ccf29>

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 ext/POSIX/t/mb.t | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/ext/POSIX/t/mb.t b/ext/POSIX/t/mb.t
index c10ea1a01e..053693e611 100644
--- a/ext/POSIX/t/mb.t
+++ b/ext/POSIX/t/mb.t
@@ -34,13 +34,9 @@ SKIP: {
     my $utf8_locale = find_utf8_ctype_locale();
     skip("no utf8 locale available", 3) unless $utf8_locale;
 
-    # Here we need to influence LC_CTYPE, but it's not enough to just
-    # set this because LC_ALL could override it. It's also not enough
-    # to delete LC_ALL because it could be used to override other
-    # variables such as LANG in the underlying test environment.
-    # Continue to set LC_CTYPE just in case...
     local $ENV{LC_CTYPE} = $utf8_locale;
-    local $ENV{LC_ALL} = $utf8_locale;
+    local $ENV{LC_ALL};
+    delete $ENV{LC_ALL};
 
     fresh_perl_like(
         'use POSIX; print &POSIX::MB_CUR_MAX',

-- 
Perl5 Master Repository

Reply via email to