diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-16 14:54:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-16 14:54:22 +0000 |
commit | 7900f421597d2a7a40765958af4cf7384474eb6b (patch) | |
tree | 3dcdfe380b37c1040961f14aeb67e260005c9317 | |
parent | 0950cef9b89cf1e31503eb2949fd99e96e1f6c1d (diff) | |
download | ruby-7900f421597d2a7a40765958af4cf7384474eb6b.tar.gz ruby-7900f421597d2a7a40765958af4cf7384474eb6b.tar.xz ruby-7900f421597d2a7a40765958af4cf7384474eb6b.zip |
* eval.c (rb_thread_start_1): outer block variables wasn't linked to
threads. fixed: [ruby-dev:25700]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Feb 16 23:54:14 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * eval.c (rb_thread_start_1): outer block variables wasn't linked to + threads. fixed: [ruby-dev:25700] + Wed Feb 16 15:11:43 2005 GOTOU Yuuzou <gotoyuzo@notwork.org> * ext/openssl/lib/openssl/ssl.rb (OpenSSL::Nonblock#initialize): @@ -11754,7 +11754,7 @@ rb_thread_start_1() ruby_scope = ip->scope; ruby_iter = ip->iter; ruby_cref = ip->cref; - ruby_dyna_vars = 0; + ruby_dyna_vars = ((struct BLOCK *)DATA_PTR(proc))->dyna_vars; PUSH_FRAME(); _frame.iter = ITER_CUR; PUSH_TAG(PROT_NONE); |