diff options
author | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-02 12:08:40 +0000 |
---|---|---|
committer | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-02 12:08:40 +0000 |
commit | 3e6a5b27f02ca51ae3502f64575937aa6c34dcdc (patch) | |
tree | 8af2eef21dd941c31de27b1403a599b87b66277c /cont.c | |
parent | 051aa44240da6b563ed89410e054b0d5e7900bdf (diff) | |
download | ruby-3e6a5b27f02ca51ae3502f64575937aa6c34dcdc.tar.gz |
* vm.c (rb_thread_mark), cont.c (cont_mark): revert r33369 and r33371
that may cause SEGV in certain environments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -138,7 +138,7 @@ cont_mark(void *ptr) if (ptr) { rb_context_t *cont = ptr; rb_gc_mark(cont->value); - rb_gc_mark(cont->saved_thread.self); + rb_thread_mark(&cont->saved_thread); if (cont->vm_stack) { #ifdef CAPTURE_JUST_VALID_VM_STACK |