Patrick Huesmann noticed BusyBox would not link when

CONFIG_FEATURE_COMMAND_EDITING was defined *and*
CONFIG_FEATURE_COMMAND_TAB_COMPLETION was undefined.

Vladimir N. Oleynik writes:

Its declare always, also if CONFIG_FEATURE_COMMAND_TAB_COMPLETION
undefined.
Patch to CVS version attached.

--w
vodz
This commit is contained in:
Eric Andersen 2004-09-08 10:01:07 +00:00
parent fd7a4c8c28
commit 4a79c0e9e1

View File

@ -6050,7 +6050,9 @@ retry:
if (!iflag || parsefile->fd) if (!iflag || parsefile->fd)
nr = safe_read(parsefile->fd, buf, BUFSIZ - 1); nr = safe_read(parsefile->fd, buf, BUFSIZ - 1);
else { else {
#ifdef CONFIG_FEATURE_COMMAND_TAB_COMPLETION
cmdedit_path_lookup = pathval(); cmdedit_path_lookup = pathval();
#endif
nr = cmdedit_read_input((char *) cmdedit_prompt, buf); nr = cmdedit_read_input((char *) cmdedit_prompt, buf);
if(nr == 0) { if(nr == 0) {
/* Ctrl+C presend */ /* Ctrl+C presend */