1 |
commit: 3219ecd6085231d7cc1268323a5be6a69f8c9143 |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Oct 24 21:47:53 2017 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 24 21:47:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=3219ecd6 |
7 |
|
8 |
supervise-daemon: fix build issue for >=glibc-2.26 |
9 |
|
10 |
X-Gentoo-Bug: 635334 |
11 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=635334 |
12 |
|
13 |
src/rc/supervise-daemon.c | 2 ++ |
14 |
1 file changed, 2 insertions(+) |
15 |
|
16 |
diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c |
17 |
index df59eb67..998a01bc 100644 |
18 |
--- a/src/rc/supervise-daemon.c |
19 |
+++ b/src/rc/supervise-daemon.c |
20 |
@@ -447,7 +447,9 @@ static void supervisor(char *exec, char **argv) |
21 |
#endif |
22 |
signal_setup_restart(SIGIO, handle_signal); |
23 |
signal_setup_restart(SIGPWR, handle_signal); |
24 |
+#ifdef SIGUNUSED |
25 |
signal_setup_restart(SIGUNUSED, handle_signal); |
26 |
+#endif |
27 |
#ifdef SIGRTMIN |
28 |
for (i = SIGRTMIN; i <= SIGRTMAX; i++) |
29 |
signal_setup_restart(i, handle_signal); |