mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
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:
parent
fd7a4c8c28
commit
4a79c0e9e1
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user