[BusyBox-cvs] CVS update of busybox/shell (ash.c)
Erik Andersen
andersen at codepoet.org
Wed Sep 8 10:01:09 UTC 2004
Date: Wednesday, September 8, 2004 @ 04:01:08
Author: andersen
Path: /var/cvs/busybox/shell
Modified: ash.c (1.105 -> 1.106)
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
Index: busybox/shell/ash.c
diff -u busybox/shell/ash.c:1.105 busybox/shell/ash.c:1.106
--- busybox/shell/ash.c:1.105 Thu Aug 19 12:22:13 2004
+++ busybox/shell/ash.c Wed Sep 8 04:01:07 2004
@@ -6050,7 +6050,9 @@
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 */
More information about the busybox-cvs
mailing list