aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-03-01 11:18:33 +0000
committerRon Yorston <rmy@pobox.com>2018-03-01 11:18:33 +0000
commit5f8dac68690e92f0be220f8f8d9f797a2aedc806 (patch)
tree28c1d611ace374f615cac23415b35b2ab54059f4 /procps
parent701a8d6783f09597e1c9b386b1e6ba890807854c (diff)
downloadbusybox-w32-5f8dac68690e92f0be220f8f8d9f797a2aedc806.tar.gz
busybox-w32-5f8dac68690e92f0be220f8f8d9f797a2aedc806.tar.bz2
busybox-w32-5f8dac68690e92f0be220f8f8d9f797a2aedc806.zip
Remove fake signal-handling code
Microsoft Windows has only limited support for signals. busybox-w32 initially papered over this fact by adding definitions for unsupported signals and signal-handling functions. Remove this fake code and deal with the consequences by excluding anything that fails to compile as a result.
Diffstat (limited to 'procps')
-rw-r--r--procps/kill.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/procps/kill.c b/procps/kill.c
index c95afb8b3..4477dedb7 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -207,6 +207,7 @@ int kill_main(int argc UNUSED_PARAM, char **argv)
207 do_it_now: 207 do_it_now:
208 pid = getpid(); 208 pid = getpid();
209 209
210#if ENABLE_KILLALL5
210 if (is_killall5) { 211 if (is_killall5) {
211 pid_t sid; 212 pid_t sid;
212 procps_status_t* p = NULL; 213 procps_status_t* p = NULL;
@@ -264,6 +265,7 @@ int kill_main(int argc UNUSED_PARAM, char **argv)
264 kill(-1, SIGCONT); 265 kill(-1, SIGCONT);
265 return errors; 266 return errors;
266 } 267 }
268#endif
267 269
268#if ENABLE_KILL || ENABLE_KILLALL 270#if ENABLE_KILL || ENABLE_KILLALL
269 /* Pid or name is required for kill/killall */ 271 /* Pid or name is required for kill/killall */