Changeset 5626
Ignore SIG{TSTP,TTIN,TTOU} in the main server process
If we are running with a console or without backgrounding we might get
these but it makes no sense for the server to obey them. (They are
still obeyed by remote consoles)
Committed by:
mjagdis
Date:
Feb 10 2010 * 19:08 (6 months ago)
Affected files:
callweaver/trunk/corelib/callweaver.c (unified diff)
| r5625 | r5626 | |
|---|---|---|
| 1697 | 1697 | |
| 1698 | 1698 | sa.sa_handler = SIG_IGN; |
| 1699 | 1699 | sigaction(SIGPIPE, &sa, NULL); |
| 1700 | sigaction(SIGTSTP, &sa, NULL); | |
| 1701 | sigaction(SIGTTIN, &sa, NULL); | |
| 1702 | sigaction(SIGTTOU, &sa, NULL); | |
| 1700 | 1703 | |
| 1701 | 1704 | sa.sa_handler = child_handler; |
| 1702 | 1705 | sa.sa_flags = SA_NOCLDSTOP; |
![Home changeset 5626 [home]](/images/logo.png?1180520111)
RSS Feeds