NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/44021: setlocale brekas the history of libedit



2010/11/2 Christos Zoulas <christos%zoulas.com@localhost>:
> The following reply was made to PR lib/44021; it has been noted by GNATS.
>
> From: christos%zoulas.com@localhost (Christos Zoulas)
> To: gnats-bugs%NetBSD.org@localhost, lib-bug-people%netbsd.org@localhost,
>        gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: lib/44021: setlocale brekas the history of libedit
> Date: Mon, 1 Nov 2010 18:09:58 -0400
>
>  On Oct 31,  5:55pm, naruse%airemix.jp@localhost 
> (naruse%airemix.jp@localhost) wrote:
>  -- Subject: lib/44021: setlocale brekas the history of libedit
>
>  | Compile it:
>  | % cc -ledit r.c
>  |
>  | Run it:
>  | % ./a.out
>  | >
>  |
>  | It shows prompt, so type some string:
>  | % ./a.out
>  | > aaa
>  |
>  | Type Enter
>  | % ./a.out
>  | > aaa
>  | aaa
>  | >
>  |
>  | Now push up arrow key and get a strange string:
>  | % ./a.out
>  | > aaa
>  | aaa
>  | > \U+16161
>
>  Can't reproduce it; granted I can't use up arrow, so I did ^P.

^P also reproduced this on my environment.

>  Can you send us:
>  $ ident /usr/lib/libedit.so

% ident /usr/lib/libedit.so
/usr/lib/libedit.so:
     $NetBSD: crti.S,v 1.1 2010/08/07 18:01:35 joerg Exp $
     $NetBSD: crtbegin.S,v 1.1 2010/08/07 18:01:34 joerg Exp $
     $NetBSD: history.c,v 1.37 2010/01/03 18:27:10 christos Exp $
     $NetBSD: readline.c,v 1.92 2010/09/16 20:08:51 christos Exp $
     $NetBSD: history.c,v 1.37 2010/01/03 18:27:10 christos Exp $
     $NetBSD: tokenizer.c,v 1.18 2010/01/03 18:27:10 christos Exp $
     $NetBSD: tokenizer.c,v 1.18 2010/01/03 18:27:10 christos Exp $
     $NetBSD: crtend.S,v 1.1 2010/08/07 18:01:34 joerg Exp $
     $NetBSD: crtn.S,v 1.1 2010/08/07 18:01:35 joerg Exp $

-- 
NARUSE, Yui
naruse%airemix.jp@localhost


Home | Main Index | Thread Index | Old Index