Added support for ignoring '-g' per GNU ls, thanks to David Vrabel
[oweals/busybox.git] / cmdedit.c
index e4c88c265ac744165d475cb5f3cced4cf2973581..5cd43ae2aee0fd25cdf4aa0357d6ed7638366426 100644 (file)
--- a/cmdedit.c
+++ b/cmdedit.c
@@ -70,6 +70,12 @@ static struct history *his_end = NULL;       /* Last element in command line list */
 
 /* Current termio and the previous termio before starting sh */
 struct termios initial_settings, new_settings;
+
+
+#ifndef        _POSIX_VDISABLE
+#define        _POSIX_VDISABLE '\0'
+#endif
+
 #endif
 
 
@@ -266,7 +272,7 @@ void input_tab(char* command, char* prompt, int outputFd, int *cursor, int *len)
 
                /* For now, we will not bother with trying to distinguish
                 * whether the cursor is in/at a command extression -- we
-                * will always try all possable matches.  If you don't like
+                * will always try all possible matches.  If you don't like
                 * that then feel free to fix it.
                 */