commit bash-20071204 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:15:53 -05:00
parent d4af16994e
commit 525739bac4
4 changed files with 42 additions and 5 deletions
+2
View File
@@ -714,6 +714,7 @@ execute_command_internal (command, asynchronous, pipe_in, pipe_out,
subshells forked to execute builtin commands (e.g., in
pipelines) to be waited for twice. */
exec_result = wait_for (last_made_pid);
itrace("execute_command_internal: wait_for (%d) = %d", last_made_pid, exec_result);
}
}
@@ -893,6 +894,7 @@ execute_command_internal (command, asynchronous, pipe_in, pipe_out,
#endif
last_command_exit_value = exec_result;
itrace("execute_command_internal: last_command_exit_value -> %d last_command_exit_signal = %d", last_command_exit_value, last_command_exit_signal);
run_pending_traps ();
#if 0
if (running_trap == 0)