← Commit list

fff73641e

Denys Vlasenko
Denys Vlasenko
2009-07-16
FAILED Duration: 34s

Subject

widen "Unicode in environment" check

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/unicode.c+1 -1
@@ -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;