diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Oct 27 19:19:55 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * eval.c (rb_longjmp): ignore reentering error while warning. + [ruby-dev:21730] + Mon Oct 27 00:23:50 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> * ext/tcltklib/tcltklib.c (ip_ruby): bug fix on Win : hang-up when @@ -3949,7 +3949,10 @@ rb_longjmp(tag, mesg) RSTRING(e)->ptr); } POP_TAG(); - if (status) { + if (status == TAG_FATAL && ruby_errinfo == exception_error) { + ruby_errinfo = Qnil; + } + else if (status) { thread_reset_raised(); JUMP_TAG(status); } |