Change 32980 by rgs@stcosmo 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 <kmashrab@uni-bremen.de> Date: Tue, 15 Jan 2008 15:17:42 +0100 Message-Id: <200801151517.46296.kmashrab@uni-bremen.de> Affected files ... ... //depot/perl/ext/Encode/encoding.pm#49 edit Differences ... ==== //depot/perl/ext/Encode/encoding.pm#49 (text) ==== --- perl-5.10.0/ext/Encode/encoding.pm.pix 2007-12-18 10:47:08.000000000 +0000 +++ perl-5.10.0/ext/Encode/encoding.pm 2008-01-14 17:23:04.000000000 +0000 @@ -50,7 +50,7 @@ no warnings 'uninitialized'; - if ( not $locale_encoding && in_locale() ) { + if ( (not $locale_encoding) && in_locale() ) { if ( $ENV{LC_ALL} =~ /^([^.]+)\.([^.@]+)(@.*)?$/ ) { ( $country_language, $locale_encoding ) = ( $1, $2 ); }