Subject: Re: bin/12017: how to enable multibyte locale (and problem around it)
To: None <gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org>
From: Noriyuki Soda <soda@sra.co.jp>
List: netbsd-bugs
Date: 01/26/2001 19:03:55
> > > That's not good enough.  No code must ever be loadable into a process
> > > started from a static binary.  That's what the word "static" means!  ;-)
> > 
> > You should not use NetBSD kernel, then.
> > NetBSD kernel can load LKM, although there is a knob to disable it.
> 
> Exactly.  My kernels cannot, and never have been able to, load LKMs.

There is a knob to make your command never load dynamic library in
newly incorporated locale library.
So, if you don't like the feature, just use the knobs.
e.g.
	- do not call setlocale() at all.
	- call setlocale(LC_ALL, "C");
	- use "export LC_ALL=C"
	...
--
soda