mirror of
https://github.com/curl/curl.git
synced 2026-04-21 03:32:11 +03:00
fix LC_ALL and LC_CTYPE when set with conflicting values
This commit is contained in:
parent
611b3584d6
commit
f882a63cba
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue