From a31918d6353dc46d07caec9a6ef30af3eb4b2cac Mon Sep 17 00:00:00 2001 From: ocean Date: Tue, 25 Oct 2005 05:30:10 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ gc.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5c45533f30..ed2db79ce9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Oct 25 14:21:46 2005 Hirokazu Yamamoto + + * gc.c (garbage_collect): sorry, previous commit was incorrect. + [ruby-core:6386] + Tue Oct 25 13:40:16 2005 Hirokazu Yamamoto * gc.c (garbage_collect): return now whether there're rooms for new diff --git a/gc.c b/gc.c index 7b6cbdc558..fdd42605f8 100644 --- a/gc.c +++ b/gc.c @@ -1280,9 +1280,8 @@ garbage_collect(void) if (dont_gc || during_gc) { if (!freelist) { add_heap(); - return Qtrue; } - return Qfalse; + return Qtrue; } during_gc++;