From 07c93581560b2f0f612e9da999673412eeb631dc Mon Sep 17 00:00:00 2001 From: andersen Date: Fri, 27 Apr 2001 07:49:41 +0000 Subject: Use BUFSIZ for the_command to match size used in cmdedit git-svn-id: svn://busybox.net/trunk/busybox@2475 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/hush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/hush.c b/shell/hush.c index cec2549be..9a43a03dc 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -780,7 +780,7 @@ static inline void setup_prompt_string(int promptmode, char **prompt_str) static void get_user_input(struct in_str *i) { char *prompt_str; - static char the_command[MAX_LINE]; + static char the_command[BUFSIZ]; setup_prompt_string(i->promptmode, &prompt_str); #ifdef BB_FEATURE_COMMAND_EDITING -- cgit v1.2.3-55-g6feb