1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* cont.c (cont_restore_0): fixed typo. [ruby-core:15821]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-03-07 11:30:07 +00:00
parent 983aea463f
commit 2bbf4707f7
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri Mar 7 20:30:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* cont.c (cont_restore_0): fixed typo. [ruby-core:15821]
Fri Mar 7 19:56:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> Fri Mar 7 19:56:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb: rdoc added. [ruby-Patches-9762] * lib/mkmf.rb: rdoc added. [ruby-Patches-9762]

2
cont.c
View file

@ -323,7 +323,7 @@ cont_restore_0(rb_context_t *cont, VALUE *addr_in_prev_frame)
#else #else
if (addr_in_prev_frame > &space[0]) { if (addr_in_prev_frame > &space[0]) {
/* Stack grows downward */ /* Stack grows downward */
if (addr_in_prev_frame > cont->saved_thread.machine_stack_src) { if (addr_in_prev_frame > cont->saved_thread.machine_stack_size) {
cont_restore_0(cont, &space[0]); cont_restore_0(cont, &space[0]);
} }
} }