mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* signal.c (interrupt_init): needs to pass nil for Interrupt.
[ruby-core:11038] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
290569b06c
commit
06eeec8a40
2 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,7 @@
|
|||
Wed May 30 02:09:56 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Wed May 30 02:14:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* signal.c (interrupt_init): needs to pass nil for Interrupt.
|
||||
[ruby-core:11038]
|
||||
|
||||
* signal.c (trap): fixed segfaults. [ruby-dev:30830]
|
||||
|
||||
|
|
4
signal.c
4
signal.c
|
@ -262,9 +262,9 @@ interrupt_init(int argc, VALUE *argv, VALUE self)
|
|||
{
|
||||
VALUE args[2];
|
||||
|
||||
rb_scan_args(argc, argv, "01", &args[1]);
|
||||
args[0] = INT2FIX(SIGINT);
|
||||
return rb_call_super(argc + 1, args);
|
||||
rb_scan_args(argc, argv, "01", &args[1]);
|
||||
return rb_call_super(2, args);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue