diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-17 02:23:52 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-17 02:23:52 +0000 |
commit | 15ba9f85cf264143de586c962fe86faeebbd2d98 (patch) | |
tree | c13aa4bcf39daf2d910eed3250f1dded46f6f977 /eval.c | |
parent | 9c54f61a5098c33d68ea1090e7ad7ef345c6767f (diff) | |
download | ruby-15ba9f85cf264143de586c962fe86faeebbd2d98.tar.gz |
* eval.c (THREAD_ALLOC): th->thread should be initialized to NULL.
[ruby-talk:106657] The solution was found by Guy Decoux.
* file.c (rb_stat_dev_major): new methods File::Stat#dev_major and
#dev_minor. [ruby-core:03195]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11227,6 +11227,7 @@ rb_thread_group(thread) th->priority = 0;\ th->thgroup = thgroup_default;\ th->locals = 0;\ + th->thread = 0;\ } while (0) static rb_thread_t |