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



> | 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