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: enami tsugutomo <tsugutomo.enami%jp.sony.com@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: <gnats-bugs%NetBSD.org@localhost>, <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 12:19:04 +0900 (JST)

 > | 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.
 
 You can reproduce it by setting LANG to ja_JP.UTF-8 or en_US.UTF-8
 etc.  And the bug is probably that the add_history() passes `char *'
 while history(..., H_ENTER, ..) expects `Char *'.
 
 enami.
 


Home | Main Index | Thread Index | Old Index