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

* eval.c (rb_thread_start_1): initialize newly pushed frame.

fixed: [ruby-dev:25707]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2005-02-17 14:29:20 +00:00
parent 52dca16384
commit 02b8414d98
2 changed files with 8 additions and 1 deletions

View file

@ -5,6 +5,11 @@ Thu Feb 17 20:09:23 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* test/digest/test_digest.rb: separate test case for each algorithms.
(Thanks nobu) [ruby-dev:25412]
Thu Feb 17 14:31:52 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_start_1): initialize newly pushed frame.
fixed: [ruby-dev:25707]
Thu Feb 17 13:46:00 2005 Nathaniel Talbott <ntalbott@ruby-lang.org>
* lib/test/unit/collector.rb (collect_file): now deletes paths added

4
eval.c
View file

@ -11756,7 +11756,9 @@ rb_thread_start_1()
ruby_cref = ip->cref;
ruby_dyna_vars = ((struct BLOCK *)DATA_PTR(proc))->dyna_vars;
PUSH_FRAME();
_frame.iter = ITER_CUR;
*ruby_frame = *ip->frame;
ruby_frame->prev = ip->frame;
ruby_frame->iter = ITER_CUR;
PUSH_TAG(PROT_NONE);
if ((state = EXEC_TAG()) == 0) {
if (THREAD_SAVE_CONTEXT(th) == 0) {