mirror of
https://git.busybox.net/busybox.git
synced 2024-12-15 08:23:25 +08:00
Use BUFSIZ for the_command to match size used in cmdedit
This commit is contained in:
parent
af44a0e8f4
commit
088875fec4
2
hush.c
2
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user