commit bash-20170414 snapshot

This commit is contained in:
Chet Ramey
2017-04-17 17:08:57 -04:00
parent 1a5fa30baf
commit 21c9990fbb
16 changed files with 124 additions and 42 deletions
+5 -4
View File
@@ -148,10 +148,6 @@ reader_loop ()
else if (current_command = global_command)
{
global_command = (COMMAND *)NULL;
current_command_number++;
executing = 1;
stdin_redir = 0;
/* If the shell is interactive, expand and display $PS0 after reading a
command (possibly a list or pipeline) and before executing it. */
@@ -168,6 +164,11 @@ reader_loop ()
free (ps0_string);
}
current_command_number++;
executing = 1;
stdin_redir = 0;
execute_command (current_command);
exec_done: