Remove now dummy HAVE_UNIXWARE_SIGWAIT define

This commit is contained in:
Ondřej Surý
2018-09-05 13:28:39 +02:00
parent c7b1e7fd08
commit 927b65aa7f
3 changed files with 0 additions and 16 deletions

View File

@@ -20,9 +20,6 @@
/** define if your system has sigwait() */
#undef HAVE_SIGWAIT
/** define if sigwait() is the UnixWare flavor */
#undef HAVE_UNIXWARE_SIGWAIT
/** define if sysconf() is available */
#undef HAVE_SYSCONF

View File

@@ -20,9 +20,6 @@
/** define if your system has sigwait() */
#undef HAVE_SIGWAIT
/** define if sigwait() is the UnixWare flavor */
#undef HAVE_UNIXWARE_SIGWAIT
/** define if sysconf() is available */
#undef HAVE_SYSCONF

View File

@@ -423,7 +423,6 @@ isc__app_ctxrun(isc_appctx_t *ctx0) {
return (ISC_R_UNEXPECTED);
}
#ifndef HAVE_UNIXWARE_SIGWAIT
result = sigwait(&sset, &sig);
if (result == 0) {
if (sig == SIGINT || sig == SIGTERM)
@@ -432,15 +431,6 @@ isc__app_ctxrun(isc_appctx_t *ctx0) {
ctx->want_reload = true;
}
#else /* Using UnixWare sigwait semantics. */
sig = sigwait(&sset);
if (sig >= 0) {
if (sig == SIGINT || sig == SIGTERM)
ctx->want_shutdown = true;
else if (sig == SIGHUP)
ctx->want_reload = true;
}
#endif /* HAVE_UNIXWARE_SIGWAIT */
} else {
/*
* External, or BIND9 using multiple contexts: