mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
On Linux, use the SVR4 (now POSIX) signal and locking interfaces instead of the non-standard BSD equivalents.
This commit is contained in:
parent
5c801a07a0
commit
0e282a0ad7
2 changed files with 6 additions and 7 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue