Re: 5.2.1-RELEASE lib/libedit broken? Problems with tr(1) and LANG=de_DE.ISO8859-15

From: Burkard Meyendriesch <bm_at_malepartus.de>
Date: Mon, 1 Mar 2004 14:49:01 +0100
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

Received on Mon Mar 01 2004 - 04:49:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:45 UTC