From a38e6d69cf0e8b26649379b555a049688308579c Mon Sep 17 00:00:00 2001 From: Dan Egnor <egnor@ofb.net> Date: Tue, 24 Sep 2002 20:37:30 +0000 Subject: [PATCH] Deal with absence of SA_NODEFER --- signal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/signal.c b/signal.c index 515abff..3cfa1ec 100644 --- a/signal.c +++ b/signal.c @@ -134,7 +134,9 @@ static void sig_on_signal(oop_source *source,int sig, sigaction(sig,NULL,&act); s->sig[sig].old = act; act.sa_handler = on_signal; +#ifdef SA_NODEFER act.sa_flags &= ~SA_NODEFER; +#endif sigaction(sig,&act,NULL); } } -- GitLab