mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* signal.c (trap): non-string trap hander was ignored.
fixed: [ruby-dev:26417] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1ffb788aaa
commit
46a14a29fc
2 changed files with 9 additions and 1 deletions
|
@ -1,6 +1,11 @@
|
|||
Thu Jun 30 23:52:12 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* signal.c (trap): non-string trap hander was ignored.
|
||||
fixed: [ruby-dev:26417]
|
||||
|
||||
Thu Jun 30 19:00:21 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
|
||||
* lib/irb/ruby-lex.rb (RubyLex::identify_number): alternative implements
|
||||
for [ruby-dev:26410]. And support a numeric form of 0d99999.
|
||||
for [ruby-dev:26410]. And support a numeric form of 0d99999.
|
||||
|
||||
Thu Jun 30 17:28:10 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
|
|
3
signal.c
3
signal.c
|
@ -652,6 +652,9 @@ trap(arg)
|
|||
if (func == SIG_IGN || func == SIG_DFL) {
|
||||
command = 0;
|
||||
}
|
||||
else {
|
||||
command = arg->cmd;
|
||||
}
|
||||
|
||||
switch (TYPE(arg->sig)) {
|
||||
case T_FIXNUM:
|
||||
|
|
Loading…
Reference in a new issue