diff options
author | Denys Vlasenko | 2009-07-15 18:27:47 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-07-15 18:27:47 +0200 |
commit | 7dd0ce49531b6340950b4a3eedbef1c958a475d9 (patch) | |
tree | 5f220482aeb6c63b761a62fb12af37c6441b6082 /libbb/lineedit.c | |
parent | 0ad438b12a97159c43c9bfc75a4ae4873ecf9bf9 (diff) | |
download | busybox-7dd0ce49531b6340950b4a3eedbef1c958a475d9.zip busybox-7dd0ce49531b6340950b4a3eedbef1c958a475d9.tar.gz |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 8b7ff4f..5ebea70 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c @@ -233,11 +233,13 @@ static size_t load_string(const char *src, int maxsize) safe_strncpy(command_ps, src, maxsize); return strlen(command_ps); } +# if ENABLE_FEATURE_TAB_COMPLETION static void save_string(char *dst, int maxsize) { safe_strncpy(dst, command_ps, maxsize); } -#define BB_PUTCHAR(c) bb_putchar(c) +# endif +# define BB_PUTCHAR(c) bb_putchar(c) #endif @@ -683,6 +685,7 @@ static void exe_n_cwd_tab_completion(char *command, int type) #undef dirbuf } +//FIXME: HUH??? How about Unicode? #define QUOT (UCHAR_MAX+1) #define collapse_pos(is, in) do { \ |