* gc.c (garbage_collect): sorry, previous commit was incorrect.

[ruby-core:6386]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-10-25 05:30:10 +00:00
parent d8e5ec121a
commit a31918d635
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Tue Oct 25 14:21:46 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* gc.c (garbage_collect): sorry, previous commit was incorrect.
[ruby-core:6386]
Tue Oct 25 13:40:16 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* gc.c (garbage_collect): return now whether there're rooms for new

3
gc.c
View File

@ -1280,9 +1280,8 @@ garbage_collect(void)
if (dont_gc || during_gc) {
if (!freelist) {
add_heap();
return Qtrue;
}
return Qfalse;
return Qtrue;
}
during_gc++;