From 5c25eac5a8d0832ea0b8fc1881b5cdd9e4ab5e1e Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 18 Oct 2006 13:59:19 +0000 Subject: * signal.c (Init_signal): handle SIGTERM. fixed: [ruby-list:42895] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 +++- signal.c | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ed372974e..cccdcd1d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,9 @@ -Wed Oct 18 22:56:51 2006 Nobuyoshi Nakada +Wed Oct 18 22:58:27 2006 Nobuyoshi Nakada * array.c (rb_ary_shift): shorten copy size. fixed: [ruby-list:42907] + * signal.c (Init_signal): handle SIGTERM. fixed: [ruby-list:42895] + Wed Oct 18 00:55:33 2006 Nobuyoshi Nakada * parse.y (parser_yylex): use particular enums. [ruby-core:09221] diff --git a/signal.c b/signal.c index f66fd3673..8bf191ebd 100644 --- a/signal.c +++ b/signal.c @@ -987,6 +987,9 @@ Init_signal() #ifdef SIGQUIT install_sighandler(SIGQUIT, sighandler); #endif +#ifdef SIGTERM + install_sighandler(SIGTERM, sighandler); +#endif #ifdef SIGALRM install_sighandler(SIGALRM, sighandler); #endif -- cgit