Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2004 14:49:01 +0100
From:      Burkard Meyendriesch <bm@malepartus.de>
To:        Andrey Chernov <ache@nagual.pp.ru>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: 5.2.1-RELEASE lib/libedit broken? Problems with tr(1) and LANG=de_DE.ISO8859-15
Message-ID:  <20040301144901.00d41f0f.bm@malepartus.de>
In-Reply-To: <20040301123935.GA34100@nagual.pp.ru>
References:  <20040301110805.6b842df0.bm@malepartus.de> <20040301113233.GA13869@nagual.pp.ru> <20040301132843.073897d2.bm@malepartus.de> <20040301123935.GA34100@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Mon__1_Mar_2004_14_49_01_+0100_9v+4VtM0/APl5R0f
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Mon, 1 Mar 2004 15:39:36 +0300 Andrey Chernov wrote:

> On Mon, Mar 01, 2004 at 01:28:43PM +0100, Burkard Meyendriesch wrote:
> > Thanks Andrey, this might be the point; I still have v1.48 of
> > setlocale.c. How can I merge 1.50 into my source tree?
> 
> If you track RELENG_5_2 branch by cvsup, I just merge them there
> today. If you mean merging by hand, just grab 1.50 from FreeBSD CVS
> via WWW interface.
> 
I just cvsup'ed RELENG_5_2 and found your version 1.48.2.1 of
setlocale.c. But this does not solve my problem: I still find illegal
non-ASCII characters in /usr/obj/usr/src/lib/libedit/fcns.h which
produce my compiling errors:

>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
In file included from editline.c:4:
/usr/src/lib/libedit/chared.c: In function `ch_init':
/usr/src/lib/libedit/chared.c:456: error: `ED_UNASSIGNED' undeclared (first use in this function)
.. (lots of similar errors)

Changing /usr/src/lib/libedit/makelist:

    sort | LC_ALL=C tr 'a-z' 'A-Z' | $AWK '
to:
    sort | LC_ALL=C tr '[:lower:]' '[:upper:]' | $AWK '

solves the problem. Maybe there is still another problem in setlocale.c?

Burkard

--
Burkard Meyendriesch
Stevern 2
D-48301 Nottuln

--Signature=_Mon__1_Mar_2004_14_49_01_+0100_9v+4VtM0/APl5R0f
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAkBDP1YACgkQcWaHg5Bcpau/9gCggnaxLSShtFw/5NrOF7bg8wbr
arkAn0nDpWoL8hNpnXen0P0NM6yyiZS0
=xtym
-----END PGP SIGNATURE-----

--Signature=_Mon__1_Mar_2004_14_49_01_+0100_9v+4VtM0/APl5R0f--



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