aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-07-16 14:14:34 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-07-16 14:14:34 +0200
commit5c2e81bb67750fa36e7901182e979cfdf8f5cc41 (patch)
treeb139d5aadff406b770fe3fbda0649ef3b91b0591 /include
parent01ba1676afff4673a7dd5b355e970d52769723df (diff)
downloadbusybox-w32-5c2e81bb67750fa36e7901182e979cfdf8f5cc41.tar.gz
busybox-w32-5c2e81bb67750fa36e7901182e979cfdf8f5cc41.tar.bz2
busybox-w32-5c2e81bb67750fa36e7901182e979cfdf8f5cc41.zip
fix a thinko in lineedit completion code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 422670f19..50b884188 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1246,8 +1246,9 @@ enum {
1246 FOR_SHELL = DO_HISTORY | SAVE_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION, 1246 FOR_SHELL = DO_HISTORY | SAVE_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION,
1247}; 1247};
1248line_input_t *new_line_input_t(int flags) FAST_FUNC; 1248line_input_t *new_line_input_t(int flags) FAST_FUNC;
1249/* so far static: void free_line_input_t(line_input_t *n) FAST_FUNC; */ 1249/* So far static: void free_line_input_t(line_input_t *n) FAST_FUNC; */
1250/* Returns: 1250/* maxsize must be >= 2.
1251 * Returns:
1251 * -1 on read errors or EOF, or on bare Ctrl-D, 1252 * -1 on read errors or EOF, or on bare Ctrl-D,
1252 * 0 on ctrl-C (the line entered is still returned in 'command'), 1253 * 0 on ctrl-C (the line entered is still returned in 'command'),
1253 * >0 length of input string, including terminating '\n' 1254 * >0 length of input string, including terminating '\n'