In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/ed0cac5b003824d9b42c00752f4f894700e967d4?hp=3131b5278035ac433911e625fae01ba3b743ef49>

- Log -----------------------------------------------------------------
commit ed0cac5b003824d9b42c00752f4f894700e967d4
Author: Karl Williamson <[email protected]>
Date:   Wed Jan 7 10:31:29 2015 -0700

    Fix broken ext/POSIX/t/wrappers.t on Windows
    
    Windows doesn't have LC_MESSAGES, so skip the code if it isn't defined.
-----------------------------------------------------------------------

Summary of changes:
 ext/POSIX/t/wrappers.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/POSIX/t/wrappers.t b/ext/POSIX/t/wrappers.t
index 01049a0..9fefb6a 100644
--- a/ext/POSIX/t/wrappers.t
+++ b/ext/POSIX/t/wrappers.t
@@ -22,7 +22,7 @@ my $temp_file = $temp_fh->filename;
 # exit, fork, waitpid, sleep in waitpid.t
 # errno in posix.t
 
-if ($Config{d_setlocale}) {
+if ($Config{d_setlocale} && defined &POSIX::LC_MESSAGES) {
     my $non_english_locale;
     local $! = 1;
     my $english_message = "$!"; # Should be C locale since not in scope of

--
Perl5 Master Repository

Reply via email to