lineedit: fix completion with Unicode chars
authorDenys Vlasenko <dvlasenk@redhat.com>
Thu, 2 Sep 2010 10:03:11 +0000 (12:03 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Thu, 2 Sep 2010 10:03:11 +0000 (12:03 +0200)
commit61a36af45d9342b65d16a3d29818cf4c70ec992d
tree6096e7f94cb9847ff36c91d6996e377f5e1dd654
parentb068bd7a4189f86d55b22242ec65e2ad56a9d719
lineedit: fix completion with Unicode chars

function                                             old     new   delta
read_line_input                                     4966    5002     +36
bb_wcstombs                                          170     159     -11
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 36/-11)             Total: 25 bytes

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
libbb/lineedit.c
libbb/unicode.c