|
|
@ -365,6 +365,11 @@ bool AppInit2(boost::thread_group& threadGroup) |
|
|
|
sigemptyset(&sa_hup.sa_mask); |
|
|
|
sigemptyset(&sa_hup.sa_mask); |
|
|
|
sa_hup.sa_flags = 0; |
|
|
|
sa_hup.sa_flags = 0; |
|
|
|
sigaction(SIGHUP, &sa_hup, NULL); |
|
|
|
sigaction(SIGHUP, &sa_hup, NULL); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined (__SVR4) && defined (__sun) |
|
|
|
|
|
|
|
// ignore SIGPIPE on Solaris
|
|
|
|
|
|
|
|
signal(SIGPIPE, SIG_IGN); |
|
|
|
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// ********************************************************* Step 2: parameter interactions
|
|
|
|
// ********************************************************* Step 2: parameter interactions
|
|
|
|