зеркало из https://github.com/github/ruby.git
* 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:
Родитель
290569b06c
Коммит
06eeec8a40
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче