aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-27 07:49:41 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-27 07:49:41 +0000
commit07c93581560b2f0f612e9da999673412eeb631dc (patch)
treecf1c72c5d82d68c90d0db97f42a543c2e3b98eb4 /shell
parent280403ed61527f2390ce9ee5e1f09ea3b19622a9 (diff)
downloadbusybox-w32-07c93581560b2f0f612e9da999673412eeb631dc.tar.gz
busybox-w32-07c93581560b2f0f612e9da999673412eeb631dc.tar.bz2
busybox-w32-07c93581560b2f0f612e9da999673412eeb631dc.zip
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
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
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)
780static void get_user_input(struct in_str *i) 780static void get_user_input(struct in_str *i)
781{ 781{
782 char *prompt_str; 782 char *prompt_str;
783 static char the_command[MAX_LINE]; 783 static char the_command[BUFSIZ];
784 784
785 setup_prompt_string(i->promptmode, &prompt_str); 785 setup_prompt_string(i->promptmode, &prompt_str);
786#ifdef BB_FEATURE_COMMAND_EDITING 786#ifdef BB_FEATURE_COMMAND_EDITING