From b4fc0c6023e631ed452834d8110949a94418e4fc Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 30 Jul 2006 13:30:19 +0000 Subject: * 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ eval.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 008959602..cca6cf7fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Jul 30 22:29:01 2006 Nobuyoshi Nakada + + * 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 * ext/tk/lib/multi-tk.rb: freeze ip_name for security reason. diff --git a/eval.c b/eval.c index 56c96954a..2917e38c3 100644 --- a/eval.c +++ b/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); } -- cgit