commit bash-20090409 snapshot

This commit is contained in:
Chet Ramey
2011-12-08 20:07:36 -05:00
parent 5ccad77957
commit 0d8616ff05
23 changed files with 5920 additions and 34 deletions
+2 -1
View File
@@ -202,7 +202,7 @@ static int expr_depth; /* Location in the stack. */
static int expr_stack_size; /* Number of slots already allocated. */
extern char *this_command_name;
extern int unbound_vars_is_error;
extern int unbound_vars_is_error, last_command_exit_value;
#if defined (ARRAY_VARS)
extern const char * const bash_badsub_errmsg;
@@ -923,6 +923,7 @@ expr_streval (tok, e)
value = tok;
#endif
last_command_exit_value = EXECUTION_FAILURE;
err_unboundvar (value);
#if defined (ARRAY_VARS)