From owner-freebsd-hackers Mon Oct 16 01:10:37 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA29292 for hackers-outgoing; Mon, 16 Oct 1995 01:10:37 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA29284 for ; Mon, 16 Oct 1995 01:10:32 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA13036 for ; Mon, 16 Oct 1995 09:09:58 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA15611 for freebsd-hackers@freebsd.org; Mon, 16 Oct 1995 09:09:57 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id IAA24308 for freebsd-hackers@freebsd.org; Mon, 16 Oct 1995 08:44:08 +0100 From: J Wunsch Message-Id: <199510160744.IAA24308@uriah.heep.sax.de> Subject: Re: A couple problems in FreeBSD 2.1.0-950922-SNAP To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Mon, 16 Oct 1995 08:44:04 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Oct 16, 95 02:49:36 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1049 Sender: owner-hackers@freebsd.org Precedence: bulk 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 . > > 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. ;-)