From f408202de2f417e6cb44089fcb2f919bff2253dc Mon Sep 17 00:00:00 2001 From: mame Date: Fri, 2 Jan 2009 13:25:09 +0000 Subject: [PATCH] * process.c: use sigaction instead of sigset. [ruby-core:21021] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ process.c | 8 ++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4f3cac50c1..5c4fc85fba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Jan 2 22:25:46 2009 Yusuke Endoh + + * process.c: use sigaction instead of sigset. [ruby-core:21021] + Fri Jan 2 22:22:04 2009 Yusuke Endoh * bootstraptest/test_proc.rb: suppress error message. diff --git a/process.c b/process.c index ed84d516aa..0f2b55f8c7 100644 --- a/process.c +++ b/process.c @@ -2736,12 +2736,8 @@ rb_f_abort(int argc, VALUE *argv) } -#if defined(sun) -#define signal(a,b) sigset(a,b) -#else -# if defined(POSIX_SIGNAL) -# define signal(a,b) posix_signal(a,b) -# endif +#if defined(POSIX_SIGNAL) +# define signal(a,b) posix_signal(a,b) #endif void