Date: Mon, 16 Oct 1995 09:07:41 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=) Cc: current@FreeBSD.ORG Subject: Re: I plan to change ENABLE_STARTUP_LOCALE behaviour... Message-ID: <199510160807.JAA24523@uriah.heep.sax.de> In-Reply-To: <KHdoTWmmC0@ache.dialup.demos.ru> from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Oct 16, 95 07:16:39 am
next in thread | previous in thread | raw e-mail | index | archive | help
As =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote: > > I plan to make ENABLE_STARTUP_LOCALE as *default* case > and introduce new variable DISABLE_STARTUP_LOCALE > to disable thins thing (for debugging purposes f.e.). I'm against it. You wrote: 3) It is useful only for <=8bit locales, so you can't call setlocale, multichars becomes damaged, you need to call reduced to 8bit setlocale version as done in crt0. 4) Using non-standard (non-POSIX/ANSI/etc) reduced setlocale in all sources cause portability problems. So either this is broken, and we cannot make it the default, or we should really put a ``setlocale(LC_CTYPE, "");'' on top of all system utilities that use <ctype.h> functions. This is effectively the same as your crt0.o hack, but then it's obvious that it's part of the program. Right now, part of the utilities does the right thing (e.g. "vi"), and most others don't. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510160807.JAA24523>