diff options
author | Eric Andersen | 2004-09-08 10:01:07 +0000 |
---|---|---|
committer | Eric Andersen | 2004-09-08 10:01:07 +0000 |
commit | 4a79c0e9e149fa16e97aea6841d7efd71c775b50 (patch) | |
tree | 8eea4393a64c9bedaf8bff2c95cb40c61f735558 | |
parent | fd7a4c8c2887187e901809d89997deefb8b99d97 (diff) | |
download | busybox-4a79c0e9e149fa16e97aea6841d7efd71c775b50.zip busybox-4a79c0e9e149fa16e97aea6841d7efd71c775b50.tar.gz |
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
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index 6c6c286..f82a772 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 */ |