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)

r5625r5626
16971697
16981698 sa.sa_handler = SIG_IGN;
16991699 sigaction(SIGPIPE, &sa, NULL);
1700 sigaction(SIGTSTP, &sa, NULL);
1701 sigaction(SIGTTIN, &sa, NULL);
1702 sigaction(SIGTTOU, &sa, NULL);
17001703
17011704 sa.sa_handler = child_handler;
17021705 sa.sa_flags = SA_NOCLDSTOP;