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:
parent
27ff072349
commit
8bf300f149
2 changed files with 6 additions and 1 deletions
|
@ -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
2
eval.c
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue