init: if libc-based Unicode support is on, run setlocale(LC_ALL, "") at startup
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 11 Aug 2014 18:33:18 +0000 (20:33 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 11 Aug 2014 18:33:18 +0000 (20:33 +0200)
commit45b4ecc8689d1291b01793efab3ac25125e14e48
treee1060806668ec1d691b29789077cdf6242afa509
parentfeac9b607dc68ea63992a46b3b8361f00f663cdc
init: if libc-based Unicode support is on, run setlocale(LC_ALL, "") at startup

It is not clear why we were excluding init from this.
The "getpid() != 1" clause was there from the beginning (2001)
but not explained.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/appletlib.c