diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-11 10:42:24 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-11 10:59:59 -0800 |
commit | 48ad0d9b915f858fda2b005d4e7f01ca465a51f9 (patch) | |
tree | 72da3583a843f371a2ad741def1db4eb12e83e6c | |
parent | 8a9a4e5be8d4906aa7b1365140445db33e6cbbbd (diff) |
unifdef SIGNALS_RESET_WHEN_CAUGHT
SIGNALS_RESET_WHEN_CAUGHT was only defined if SYSV was defined
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xdm/dm.c | 8 | ||||
-rw-r--r-- | xdm/server.c | 3 |
2 files changed, 0 insertions, 11 deletions
@@ -283,9 +283,6 @@ RescanNotify (int n) Debug ("Caught SIGHUP\n"); Rescan = 1; -#ifdef SIGNALS_RESET_WHEN_CAUGHT - (void) Signal (SIGHUP, RescanNotify); -#endif errno = olderrno; } @@ -447,11 +444,6 @@ StopAll (int n) DestroyWellKnownSockets (); #endif ForEachDisplay (StopDisplay); -#ifdef SIGNALS_RESET_WHEN_CAUGHT - /* to avoid another one from killing us unceremoniously */ - (void) Signal (SIGTERM, StopAll); - (void) Signal (SIGINT, StopAll); -#endif errno = olderrno; } diff --git a/xdm/server.c b/xdm/server.c index 92ac29c..9f416ad 100644 --- a/xdm/server.c +++ b/xdm/server.c @@ -54,9 +54,6 @@ CatchUsr1 (int n) { int olderrno = errno; -#ifdef SIGNALS_RESET_WHEN_CAUGHT - (void) Signal (SIGUSR1, CatchUsr1); -#endif Debug ("display manager caught SIGUSR1\n"); ++receivedUsr1; errno = olderrno; |