Change 32980 by [EMAIL PROTECTED] on 2008/01/15 14:23:04
Boolean priority bug, found by Mashrab Kuvatov:
Subject: Re: [perl #49646] perlbug AutoReply: open ':locale' does not
work under locale with the modifier
From: Mashrab Kuvatov <[EMAIL PROTECTED]>
Date: Tue, 15 Jan 2008 15:17:42 +0100
Message-Id: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/ext/Encode/encoding.pm#49 edit
Differences ...
==== //depot/perl/ext/Encode/encoding.pm#49 (text) ====
Index: perl/ext/Encode/encoding.pm
--- perl/ext/Encode/encoding.pm#48~32977~ 2008-01-14 14:48:46.000000000
-0800
+++ perl/ext/Encode/encoding.pm 2008-01-15 06:23:04.000000000 -0800
@@ -50,7 +50,7 @@
no warnings 'uninitialized';
- if ( not $locale_encoding && in_locale() ) {
+ if ( (not $locale_encoding) && in_locale() ) {
if ( $ENV{LC_ALL} =~ /^([^.]+)\.([EMAIL PROTECTED])(@.*)?$/ ) {
( $country_language, $locale_encoding ) = ( $1, $2 );
}
End of Patch.