From 4a79c0e9e149fa16e97aea6841d7efd71c775b50 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 8 Sep 2004 10:01:07 +0000 Subject: 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 --- shell/ash.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index 6c6c28693..f82a77258 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -6050,7 +6050,9 @@ retry: if (!iflag || parsefile->fd) nr = safe_read(parsefile->fd, buf, BUFSIZ - 1); else { +#ifdef CONFIG_FEATURE_COMMAND_TAB_COMPLETION cmdedit_path_lookup = pathval(); +#endif nr = cmdedit_read_input((char *) cmdedit_prompt, buf); if(nr == 0) { /* Ctrl+C presend */ -- cgit v1.2.3