projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9531f7d
)
widen "Unicode in environment" check
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 16 Jul 2009 14:09:25 +0000
(16:09 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 16 Jul 2009 14:09:25 +0000
(16:09 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/unicode.c
patch
|
blob
|
history
diff --git
a/libbb/unicode.c
b/libbb/unicode.c
index 3519984d96692114bb8b5a1e7c4357cddc97d7f4..544528acd088379460492717cc3af23796412bf2 100644
(file)
--- a/
libbb/unicode.c
+++ b/
libbb/unicode.c
@@
-39,7
+39,7
@@
void FAST_FUNC check_unicode_in_env(void)
unicode_is_enabled = 1;
lang = getenv("LANG");
- if (!lang || !
strstr(lang, ".utf8"
))
+ if (!lang || !
(strstr(lang, ".utf") || strstr(lang, ".UTF")
))
return;
unicode_is_enabled = 2;