From: Yang Tse Date: Tue, 12 May 2009 11:24:29 +0000 (+0000) Subject: fix LC_ALL and LC_CTYPE when set with conflicting values X-Git-Tag: upstream/7.37.1~6230 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f882a63cbafff3a60da3ce3defb2c545ad8ba350;p=platform%2Fupstream%2Fcurl.git fix LC_ALL and LC_CTYPE when set with conflicting values --- diff --git a/tests/testcurl.pl b/tests/testcurl.pl index ef60567..8cba54a 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -166,7 +166,8 @@ if (($^O eq 'MSWin32') && $confsuffix = '-win32'; } - +$ENV{LC_ALL}="C" if (($ENV{LC_ALL}) && ($ENV{LC_ALL} !~ /^C$/)); +$ENV{LC_CTYPE}="C" if (($ENV{LC_CTYPE}) && ($ENV{LC_CTYPE} !~ /^C$/)); $ENV{LANG}="C"; sub rmtree($) {