mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-16 08:30:49 +02:00
commit bash-20190719 snapshot
This commit is contained in:
+6
-6
@@ -1,7 +1,7 @@
|
||||
/* make_cmd.c -- Functions for making instances of the various
|
||||
parser constructs. */
|
||||
|
||||
/* Copyright (C) 1989-2018 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1989-2019 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Bash, the Bourne Again SHell.
|
||||
|
||||
@@ -235,7 +235,7 @@ make_select_command (name, map_list, action, lineno)
|
||||
#if defined (SELECT_COMMAND)
|
||||
return (make_for_or_select (cm_select, name, map_list, action, lineno));
|
||||
#else
|
||||
last_command_exit_value = 2;
|
||||
set_exit_status (2);
|
||||
return ((COMMAND *)NULL);
|
||||
#endif
|
||||
}
|
||||
@@ -321,7 +321,7 @@ make_arith_for_command (exprs, action, lineno)
|
||||
free (init);
|
||||
free (test);
|
||||
free (step);
|
||||
last_command_exit_value = 2;
|
||||
set_exit_status (2);
|
||||
return ((COMMAND *)NULL);
|
||||
}
|
||||
|
||||
@@ -337,7 +337,7 @@ make_arith_for_command (exprs, action, lineno)
|
||||
return (make_command (cm_arith_for, (SIMPLE_COM *)temp));
|
||||
#else
|
||||
dispose_words (exprs);
|
||||
last_command_exit_value = 2;
|
||||
set_exit_status (2);
|
||||
return ((COMMAND *)NULL);
|
||||
#endif /* ARITH_FOR_COMMAND */
|
||||
}
|
||||
@@ -447,7 +447,7 @@ make_arith_command (exp)
|
||||
|
||||
return (command);
|
||||
#else
|
||||
last_command_exit_value = 2;
|
||||
set_exit_status (2);
|
||||
return ((COMMAND *)NULL);
|
||||
#endif
|
||||
}
|
||||
@@ -490,7 +490,7 @@ make_cond_command (cond_node)
|
||||
|
||||
return (command);
|
||||
#else
|
||||
last_command_exit_value = 2;
|
||||
set_exit_status (2);
|
||||
return ((COMMAND *)NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user