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



The following reply was made to PR lib/44021; it has been noted by GNATS.

From: "NARUSE, Yui" <naruse%airemix.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
netbsd-bugs%netbsd.org@localhost
Subject: Re: lib/44021: setlocale brekas the history of libedit
Date: Tue, 2 Nov 2010 09:23:19 +0900

 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,
 > =A0 =A0 =A0 =A0gnats-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
 >
 > =A0On Oct 31, =A05:55pm, naruse%airemix.jp@localhost 
 > (naruse%airemix.jp@localhost) wrote:
 > =A0-- Subject: lib/44021: setlocale brekas the history of libedit
 >
 > =A0| Compile it:
 > =A0| % cc -ledit r.c
 > =A0|
 > =A0| Run it:
 > =A0| % ./a.out
 > =A0| >
 > =A0|
 > =A0| It shows prompt, so type some string:
 > =A0| % ./a.out
 > =A0| > aaa
 > =A0|
 > =A0| Type Enter
 > =A0| % ./a.out
 > =A0| > aaa
 > =A0| aaa
 > =A0| >
 > =A0|
 > =A0| Now push up arrow key and get a strange string:
 > =A0| % ./a.out
 > =A0| > aaa
 > =A0| aaa
 > =A0| > \U+16161
 >
 > =A0Can't reproduce it; granted I can't use up arrow, so I did ^P.
 
 ^P also reproduced this on my environment.
 
 > =A0Can you send us:
 > =A0$ 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 $
 
 --=20
 NARUSE, Yui
 naruse%airemix.jp@localhost
 


Home | Main Index | Thread Index | Old Index