← Commit list

45b4ecc86

Denys Vlasenko
Denys Vlasenko
2014-08-11
SUCCESS Duration: 134s

Subject

init: if libc-based Unicode support is on, run setlocale(LC_ALL, "") at startup

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/appletlib.c+1 -2
@@ -184,8 +184,7 @@ void lbb_prepare(const char *applet
#endif
applet_name = applet;
- /* Set locale for everybody except 'init' */
- if (ENABLE_LOCALE_SUPPORT && getpid() != 1)
+ if (ENABLE_LOCALE_SUPPORT)
setlocale(LC_ALL, "");
#if ENABLE_FEATURE_INDIVIDUAL