On Linux, use the SVR4 (now POSIX) signal and locking interfaces instead of the non-standard BSD equivalents.
This commit is contained in:
committed by
Jon Trulson
parent
5c801a07a0
commit
0e282a0ad7
@@ -1161,7 +1161,7 @@ ImmediateExit(
|
||||
* Turn off SIGTERM so we don't catch one in the middle of shutting
|
||||
* down
|
||||
*/
|
||||
#if !defined(SVR4)
|
||||
#if !defined(SVR4) && !defined(__linux__)
|
||||
old = sigblock(sigmask(SIGTERM));
|
||||
sigblock(sigmask(SIGHUP));
|
||||
sigblock(sigmask(SIGPIPE));
|
||||
|
||||
Reference in New Issue
Block a user