1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

fix LC_ALL and LC_CTYPE when set with conflicting values

This commit is contained in:
Yang Tse 2009-05-12 11:24:29 +00:00
parent 611b3584d6
commit f882a63cba

View File

@ -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($) {