commit bash-20200406 snapshot

This commit is contained in:
Chet Ramey
2020-04-08 17:09:56 -04:00
parent e34adc2c3b
commit ea31c00845
11 changed files with 266 additions and 101 deletions
-7
View File
@@ -1518,7 +1518,6 @@ execute_in_subshell (command, asynchronous, pipe_in, pipe_out, fds_to_close)
QUIT;
CHECK_TERMSIG;
CHECK_SIGTERM; /* after RESET_SIGTERM in make_child */
reset_terminating_signals (); /* in sig.c */
/* Cancel traps, in trap.c. */
@@ -4274,8 +4273,6 @@ execute_simple_command (simple_command, pipe_in, pipe_out, async, fds_to_close)
last_asynchronous_pid = old_last_async_pid;
CHECK_SIGTERM;
if (async)
subshell_level++; /* not for pipes yet */
@@ -5393,8 +5390,6 @@ execute_disk_command (words, redirects, command_line, pipe_in, pipe_out,
/* Cancel traps, in trap.c. */
restore_original_signals ();
CHECK_SIGTERM;
#if defined (JOB_CONTROL)
FREE (p);
#endif
@@ -5468,8 +5463,6 @@ execute_disk_command (words, redirects, command_line, pipe_in, pipe_out,
exit (execute_shell_function (hookf, wl));
}
CHECK_SIGTERM;
/* Execve expects the command name to be in args[0]. So we
leave it there, in the same format that the user used to
type it in. */