diff options
author | Denys Vlasenko | 2010-09-03 12:56:36 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-09-03 12:56:36 +0200 |
commit | 3c460b005c3c422fe73dc464902e0626fc57938a (patch) | |
tree | 79d5d815280dac6d2f3e1c4cf534842c4ef4486e /libbb/safe_strncpy.c | |
parent | 2679e3c8cccbf3ae4cac8e735e5430ebbe714b00 (diff) | |
download | busybox-3c460b005c3c422fe73dc464902e0626fc57938a.zip busybox-3c460b005c3c422fe73dc464902e0626fc57938a.tar.gz |
lineedit: return prefix len from tab completion helpers
This kills horrific logic which deletes and re-adds prefix (!)
function old new delta
complete_cmd_dir_file 705 731 +26
complete_username 121 124 +3
input_tab 1041 1016 -25
build_match_prefix 838 804 -34
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 29/-59) Total: -30 bytes
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'libbb/safe_strncpy.c')
0 files changed, 0 insertions, 0 deletions