1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval.c (rb_longjmp): must not disturb original jump.

[ruby-dev:21733]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2003-10-29 08:21:11 +00:00
parent 27ff072349
commit 8bf300f149
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Wed Oct 29 17:16:31 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_longjmp): must not disturb original jump.
[ruby-dev:21733]
Wed Oct 29 15:28:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (Init_Proc): taint preallocated exception object

2
eval.c
View file

@ -3950,7 +3950,7 @@ rb_longjmp(tag, mesg)
}
POP_TAG();
if (status == TAG_FATAL && ruby_errinfo == exception_error) {
ruby_errinfo = Qnil;
ruby_errinfo = mesg;
}
else if (status) {
thread_reset_raised();