diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-18 13:59:19 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-18 13:59:19 +0000 |
| commit | 5c25eac5a8d0832ea0b8fc1881b5cdd9e4ab5e1e (patch) | |
| tree | 14263c9fda87bdac2854213939759ad4913166d7 | |
| parent | f50f6a11ef069264df6f64f30cd8a4cc7f6126e7 (diff) | |
| download | ruby-5c25eac5a8d0832ea0b8fc1881b5cdd9e4ab5e1e.tar.gz ruby-5c25eac5a8d0832ea0b8fc1881b5cdd9e4ab5e1e.tar.xz ruby-5c25eac5a8d0832ea0b8fc1881b5cdd9e4ab5e1e.zip | |
* 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
| -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 00:55:33 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y (parser_yylex): use particular enums. [ruby-core:09221] @@ -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 |
