From a3656d4222509f0befa6d01f0ccd3f7a9442665b Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 11 May 2014 01:02:47 +0000 Subject: signal.c: directly deliver non-handlable signals * signal.c (rb_f_kill): directly deliver signals which cannot be handled, i.e., SIGKILL and SIGSTOP. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- signal.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'signal.c') diff --git a/signal.c b/signal.c index 82c9125c90..05b21a9ad9 100644 --- a/signal.c +++ b/signal.c @@ -464,6 +464,12 @@ rb_f_kill(int argc, VALUE *argv) case SIGSEGV: #ifdef SIGBUS case SIGBUS: +#endif +#ifdef SIGKILL + case SIGKILL: +#endif +#ifdef SIGSTOP + case SIGSTOP: #endif ruby_kill(pid, sig); break; -- cgit v1.2.3