diff options
Diffstat (limited to 'shell/lash.c')
-rw-r--r-- | shell/lash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/lash.c b/shell/lash.c index 58d770fd8..192900bb6 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -716,11 +716,12 @@ static char * strsep_space(char *string, int * ix) | |||
716 | 716 | ||
717 | static int expand_arguments(char *command) | 717 | static int expand_arguments(char *command) |
718 | { | 718 | { |
719 | static const char out_of_space[] = "out of space during expansion"; | ||
720 | |||
719 | int total_length = 0, length, i, retval, ix = 0; | 721 | int total_length = 0, length, i, retval, ix = 0; |
720 | expand_t expand_result; | 722 | expand_t expand_result; |
721 | char *tmpcmd, *cmd, *cmd_copy; | 723 | char *tmpcmd, *cmd, *cmd_copy; |
722 | char *src, *dst, *var; | 724 | char *src, *dst, *var; |
723 | const char * const out_of_space = "out of space during expansion"; | ||
724 | int flags = GLOB_NOCHECK | 725 | int flags = GLOB_NOCHECK |
725 | #ifdef GLOB_BRACE | 726 | #ifdef GLOB_BRACE |
726 | | GLOB_BRACE | 727 | | GLOB_BRACE |