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