commit bash-20041118 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:39:51 -05:00
parent ec2199bd30
commit f75912ae36
26 changed files with 631 additions and 109 deletions
+9 -2
View File
@@ -384,8 +384,8 @@ set_sigchld_trap (command_string)
}
#endif
/* Make COMMAND_STRING be executed when SIGCHLD is caught iff the current
SIGCHLD trap handler is DEFAULT_SIG. */
/* Make COMMAND_STRING be executed when SIGCHLD is caught iff SIGCHLD
is not already trapped. */
void
maybe_set_sigchld_trap (command_string)
char *command_string;
@@ -985,3 +985,10 @@ set_signal_ignored (sig)
sigmodes[sig] |= SIG_HARD_IGNORE;
original_signals[sig] = SIG_IGN;
}
int
signal_in_progress (sig)
int sig;
{
return (sigmodes[sig] & SIG_INPROGRESS);
}