Date: Tue, 17 Oct 1995 06:10:30 +0300 (MSK) From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su> To: Terry Lambert <terry@lambert.org> Cc: dawes@rf900.physics.usyd.edu.au, hackers@freefall.freebsd.org, kaleb@x.org, roberto@keltia.freenix.fr Subject: Re: A couple problems in FreeBSD 2.1.0-950922-SNAP Message-ID: <clcwnWmaG5@ache.dialup.demos.ru> In-Reply-To: <199510170247.TAA26308@phaeton.artisoft.com>; from Terry Lambert at Mon, 16 Oct 1995 19:47:46 -0700 (MST) References: <199510170247.TAA26308@phaeton.artisoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199510170247.TAA26308@phaeton.artisoft.com> Terry Lambert writes: >> >> 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. Not this case. This case is equal simple LANG set or not set, LC_CTYPE bogusly involved here. I dump xterm core only by LANG and don't need LC_CTYPE for it. Having bogus LC_CTYPE simple mask LANG presence. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?clcwnWmaG5>