Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 1995 19:47:46 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=)
Cc:        roberto@keltia.freenix.fr, terry@lambert.org, dawes@rf900.physics.usyd.edu.au, hackers@freefall.freebsd.org, kaleb@x.org
Subject:   Re: A couple problems in FreeBSD 2.1.0-950922-SNAP
Message-ID:  <199510170247.TAA26308@phaeton.artisoft.com>
In-Reply-To: <Pa7NnWm864@ache.dialup.demos.ru> from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Oct 17, 95 05:32:39 am

next in thread | previous in thread | raw e-mail | index | archive | help
> >> LANG=fr_FR.ISO_8859-1
> >> LC_CTYPE=iso_8859_1
> >> 
> >> As soon  as I switch LC_CTYPE  to fr_FR.ISO_8859-1, all xterms started from
> >> this terminal  will  dump core  (well,  they won't because  xterm is setuid
> >> root), each time. The signal is SEGV. 
> 
> >Your xterm is improperly pretending to be internationalized.  It's
> >pretending because there is bogus code in crt0.o that causes it to
> >call setlocale() when XPG/3 and XPG/4 both say it shouldn't.
> 
> Be shure that your propogating cause the same effect on xterm as
> my hack (the same code table loaded).

No it won't.  The LC_TYPE causes the load to fail for the default
set and there is no default set, so boom.

In the case of a statically loaded (writeable strings) default, there
is no setlocale() call, thus no failure, thus no core.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510170247.TAA26308>