diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | signal.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,7 +1,9 @@ -Wed Oct 18 22:56:51 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> +Wed Oct 18 22:58:27 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> * 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 13:25:50 2006 Yukihiro Matsumoto <matz@ruby-lang.org> * string.c (rb_str_each_line): String#lines now works when a block @@ -941,6 +941,9 @@ Init_signal(void) #ifdef SIGQUIT install_sighandler(SIGQUIT, sighandler); #endif +#ifdef SIGTERM + install_sighandler(SIGTERM, sighandler); +#endif #ifdef SIGALRM install_sighandler(SIGALRM, sighandler); #endif |