summaryrefslogtreecommitdiffstats
path: root/thread_win32.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-19 05:43:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-19 05:43:20 +0000
commit8c0ea7cda023737eb5a2e76b975b0c7bde70e467 (patch)
tree96f691eaa1d8182de45b06a6ceee5bfc9da5f17b /thread_win32.c
parenta86899236fb1a2fbf92e386402cc882c76b71c72 (diff)
downloadruby-8c0ea7cda023737eb5a2e76b975b0c7bde70e467.tar.gz
ruby-8c0ea7cda023737eb5a2e76b975b0c7bde70e467.tar.xz
ruby-8c0ea7cda023737eb5a2e76b975b0c7bde70e467.zip
* eval.c (ruby_cleanup): the order of local variables on stack is
undefined. should use outermost VALUE for ruby_init_stack. * gc.c (ruby_get_stack_grow_direction, Init_stack): allows volatile pointer. * thread_*.c (ruby_init_stack): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_win32.c b/thread_win32.c
index 684085fdb..f404a4f31 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -417,7 +417,7 @@ native_cond_destroy(rb_thread_cond_t *cond)
}
void
-ruby_init_stack(VALUE *addr)
+ruby_init_stack(volatile VALUE *addr)
{
}