aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/0001-acpid-fix-for-clean-exit-on-SIGTERM.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-02-22 08:31:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-22 08:31:15 +0000
commitf0636bcb70a3dca8d675f9c42a8fe0feedaa89e5 (patch)
tree7fa933d08b831fd33a5413461052b316661af8c5 /main/busybox/0001-acpid-fix-for-clean-exit-on-SIGTERM.patch
parent2ff99dcc795b7bc24ff6b6b972a7f4d4a2f8e28d (diff)
downloadaports-f0636bcb70a3dca8d675f9c42a8fe0feedaa89e5.tar.bz2
aports-f0636bcb70a3dca8d675f9c42a8fe0feedaa89e5.tar.xz
main/busybox: use upstream fix for acpid fix
Diffstat (limited to 'main/busybox/0001-acpid-fix-for-clean-exit-on-SIGTERM.patch')
-rw-r--r--main/busybox/0001-acpid-fix-for-clean-exit-on-SIGTERM.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/main/busybox/0001-acpid-fix-for-clean-exit-on-SIGTERM.patch b/main/busybox/0001-acpid-fix-for-clean-exit-on-SIGTERM.patch
deleted file mode 100644
index 4218971889..0000000000
--- a/main/busybox/0001-acpid-fix-for-clean-exit-on-SIGTERM.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 4d5e59384109ab83309f07b67a1e2eef1f392daf Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Fri, 3 Feb 2012 14:32:51 +0100
-Subject: [PATCH] acpid: fix for clean exit on SIGTERM
-
-f4b2f335506e570a06d5eab09068da3f61 introduced safe_poll() and no
-longer exits on SIGTERM. We solve this by explicit checking for
-bb_got_signal.
-
-Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
----
- util-linux/acpid.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/util-linux/acpid.c b/util-linux/acpid.c
-index 361a2b2..63c7a6d 100644
---- a/util-linux/acpid.c
-+++ b/util-linux/acpid.c
-@@ -293,7 +293,7 @@ int acpid_main(int argc UNUSED_PARAM, char **argv)
-
- write_pidfile(opt_pidfile);
-
-- while (safe_poll(pfd, nfd, -1) > 0) {
-+ while (safe_poll(pfd, nfd, -1) > 0 && !bb_got_signal) {
- int i;
- for (i = 0; i < nfd; i++) {
- const char *event;
---
-1.7.9
-