Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
927b65aa
Commit
927b65aa
authored
Sep 05, 2018
by
Ondřej Surý
Browse files
Remove now dummy HAVE_UNIXWARE_SIGWAIT define
parent
c7b1e7fd
Changes
3
Hide whitespace changes
Inline
Side-by-side
acconfig.h
View file @
927b65aa
...
...
@@ -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
...
...
config.h.in
View file @
927b65aa
...
...
@@ -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
...
...
lib/isc/unix/app.c
View file @
927b65aa
...
...
@@ -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:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment