Subject: Re: bin/12017: how to enable multibyte locale (and problem around it)
To: Noriyuki Soda <soda@sra.co.jp>
From: None <itojun@iijlab.net>
List: netbsd-bugs
Date: 01/23/2001 15:44:51
>> FYI: I've checked that none of sources under /sbin is using
>> setlocale(), and even if they are linked with multibyte-locale-capable
>> libc, they do not pull in multibyte locale stuff (so no footprint
>> growth).
>Many commands in /bin already call setlocale(3), so there should be
>footprint growth.
hmm.
itojun
cat/cat.c: (void)setlocale(LC_ALL, "");
chmod/chmod.c: (void)setlocale(LC_ALL, "");
cp/cp.c: (void)setlocale(LC_ALL, "");
csh/csh.c: (void) setlocale(LC_ALL, "");
csh/func.c: (void) setlocale(LC_ALL, "");
csh/func.c: (void) setlocale(LC_ALL, "");
date/date.c: (void)setlocale(LC_ALL, "");
ls/ls.c: setlocale(LC_ALL, "");
mkdir/mkdir.c: (void)setlocale(LC_ALL, "");
mv/mv.c: (void)setlocale(LC_ALL, "");
rm/rm.c: (void)setlocale(LC_ALL, "");
rmdir/rmdir.c: (void)setlocale(LC_ALL, "");
sleep/sleep.c: (void)setlocale(LC_ALL, "");