diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-19 16:38:30 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-19 16:38:30 +0000 |
| commit | 4483c88639f63d6db810b4f5e4df37e11c6e421a (patch) | |
| tree | 81e54df1e072a1392cc3308e115ec02e33258c11 /thread.c | |
| parent | 6fafbc232c9d657230b631a4ab81407e0150e7c5 (diff) | |
| download | ruby-4483c88639f63d6db810b4f5e4df37e11c6e421a.tar.gz ruby-4483c88639f63d6db810b4f5e4df37e11c6e421a.tar.xz ruby-4483c88639f63d6db810b4f5e4df37e11c6e421a.zip | |
* thread.c (thread_start_func_2): store the result of first_func
as well as first_proc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
| -rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -304,7 +304,7 @@ thread_start_func_2(rb_thread_t *th, VALUE *stack_start) RARRAY_LEN(args), RARRAY_PTR(args)); } else { - (*th->first_func)(th->first_func_arg); + th->value = (*th->first_func)(th->first_func_arg); } } else { |
