mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (rb_trap_eval): make the current thread runnable to deal with
exceptions which occurred within the trap. fixed: [ruby-dev:27729] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f89633f03d
commit
ea899f6b18
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Jul 30 22:29:01 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_trap_eval): make the current thread runnable to deal with
|
||||
exceptions which occurred within the trap. fixed: [ruby-dev:27729]
|
||||
|
||||
Sat Jul 29 06:12:06 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/multi-tk.rb: freeze ip_name for security reason.
|
||||
|
|
1
eval.c
1
eval.c
|
@ -9939,6 +9939,7 @@ rb_trap_eval(cmd, sig, safe)
|
|||
|
||||
if (state) {
|
||||
rb_trap_immediate = 0;
|
||||
rb_thread_ready(curr_thread);
|
||||
JUMP_TAG(state);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue