diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-04-09 18:04:08 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-04-09 18:04:08 +0000 |
commit | 32e799db485107ba9d47fb4fb4cd44c9d6f57b8a (patch) | |
tree | e33fd45f76d7f31959c1e5298902588de716657c /signal.c | |
parent | 35247a52ef719584a59ae9c518523f0ee825c8e3 (diff) |
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -310,8 +310,10 @@ signal_exec(sig) case SIGINT: rb_thread_interrupt(); break; +#ifndef NT case SIGHUP: case SIGTERM: +#endif #ifdef SIGPIPE case SIGPIPE: #endif @@ -493,8 +495,10 @@ trap(arg) if (func == SIG_DFL) { switch (sig) { case SIGINT: +#ifndef NT case SIGHUP: case SIGTERM: +#endif #ifdef SIGQUIT case SIGQUIT: #endif @@ -609,8 +613,10 @@ Init_signal() #ifndef MACOS_UNUSE_SIGNAL rb_define_global_function("trap", rb_f_trap, -1); ruby_signal(SIGINT, sighandle); +#ifndef NT ruby_signal(SIGHUP, sighandle); ruby_signal(SIGTERM, sighandle); +#endif #ifdef SIGPIPE ruby_signal(SIGPIPE, sighandle); #endif |