Patrick Huesmann noticed BusyBox would not link when
authorEric Andersen <andersen@codepoet.org>
Wed, 8 Sep 2004 10:01:07 +0000 (10:01 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 8 Sep 2004 10:01:07 +0000 (10:01 -0000)
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

index 6c6c28693fd5a18f57db8f03e1761b0fb7156880..f82a77258632ccc5b34fa68f888ddf8a45dabec3 100644 (file)
@@ -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 */