From: Ben Collins Date: Wed, 13 Sep 2000 21:49:08 +0000 (+0000) Subject: Error in setting sa_flags (was never set) X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2021 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e717717a8b32c71fc339ad8289a6b71e07fc1951;p=openldap Error in setting sa_flags (was never set) --- diff --git a/libraries/liblutil/signal.c b/libraries/liblutil/signal.c index 64084c7eda..4c2b513fd1 100644 --- a/libraries/liblutil/signal.c +++ b/libraries/liblutil/signal.c @@ -22,7 +22,7 @@ lutil_sigaction(int sig, lutil_sig_t func) action.sa_handler = func; sigemptyset( &action.sa_mask ); #ifdef SA_RESTART - action.sa_flags != SA_RESTART; + action.sa_flags |= SA_RESTART; #endif if( sigaction( sig, &action, &oaction ) != 0 ) {