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

ruby-changes:19604

From: iwamatsu <ko1@a...>
Date: Fri, 20 May 2011 15:06:01 +0900 (JST)
Subject: [ruby-changes:19604] iwamatsu:r31647 (trunk): * gc.c: Fix build on m68k by 'error: too few arguments to

iwamatsu	2011-05-20 15:05:54 +0900 (Fri, 20 May 2011)

  New Revision: 31647

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

  Log:
    * gc.c: Fix build on m68k by 'error: too few arguments to
      function 'mark_locations_array''.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31646)
+++ ChangeLog	(revision 31647)
@@ -1,3 +1,8 @@
+Fri May 20 05:15:19 2011  Nobuhiro Iwamatsu  <iwamatsu@n...>
+
+	* gc.c: Fix build on m68k by 'error: too few arguments to
+	  function 'mark_locations_array''.
+	    
 Fri May 20 04:23:42 2011  Eric Hodel  <drbrain@s...>
 
 	* lib/scanf.rb:  Improve documentation.  Patch by Gabe McArthur.
Index: gc.c
===================================================================
--- gc.c	(revision 31646)
+++ gc.c	(revision 31647)
@@ -2349,7 +2349,7 @@
     rb_gc_mark_locations(th->machine_register_stack_start, th->machine_register_stack_end);
 #endif
 #if defined(__mc68000__)
-    mark_locations_array((VALUE*)((char*)STACK_END + 2),
+    mark_locations_array(objspace, (VALUE*)((char*)STACK_END + 2),
 			 (STACK_START - STACK_END));
 #endif
 }

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

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