Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 1995 08:44:04 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: A couple problems in FreeBSD 2.1.0-950922-SNAP
Message-ID:  <199510160744.IAA24308@uriah.heep.sax.de>
In-Reply-To: <MkGuPWm8c2@ache.dialup.demos.ru> from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Oct 16, 95 02:49:36 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:
> 
> >You misunderstood me.  I was thinking of an explicit setlocale()
> >inside all system utilities (except daemons) that use <ctype.h>.
> 
> 1) Too match sources will be changed cause troubles with patches
> and upgrades.

That doesn't count.  The base utilities aren't being upgraded that
often.

> 2) It can be called twice, since first time call comes from
> crt0.

That should only result in a nop, does it?

> 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.

Ah, i didn't knew that our locale support ain't complete yet.  I was
under the impression that the LC_CTYPE part was already ok.

-- 
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?199510160744.IAA24308>