projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
611b358
)
fix LC_ALL and LC_CTYPE when set with conflicting values
author
Yang Tse
<yangsita@gmail.com>
Tue, 12 May 2009 11:24:29 +0000
(11:24 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Tue, 12 May 2009 11:24:29 +0000
(11:24 +0000)
tests/testcurl.pl
patch
|
blob
|
history
diff --git
a/tests/testcurl.pl
b/tests/testcurl.pl
index
ef60567
..
8cba54a
100755
(executable)
--- 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($) {