[前][次][番号順一覧][スレッド一覧]

ruby-changes:27850

From: nobu <ko1@a...>
Date: Sun, 24 Mar 2013 14:14:07 +0900 (JST)
Subject: [ruby-changes:27850] nobu:r39902 (trunk): gc.c: fix compile error

nobu	2013-03-24 14:13:54 +0900 (Sun, 24 Mar 2013)

  New Revision: 39902

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39902

  Log:
    gc.c: fix compile error
    
    * gc.c (gc_prepare_free_objects): fix compile error.  there should be
      free objects when new slot is added.

  Modified files:
    trunk/gc.c

Index: gc.c
===================================================================
--- gc.c	(revision 39901)
+++ gc.c	(revision 39902)
@@ -2048,7 +2048,7 @@ gc_prepare_free_objects(rb_objspace_t *o https://github.com/ruby/ruby/blob/trunk/gc.c#L2048
 
     if (!GC_ENABLE_LAZY_SWEEP || objspace->flags.dont_lazy_sweep) {
 	if (heaps_increment(objspace)) {
-	    return;
+	    return TRUE;
 	}
 	else {
 	    return garbage_collect(objspace);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]