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:
parent
611b3584d6
commit
f882a63cba
@ -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($) {
|
||||
|
Loading…
Reference in New Issue
Block a user