<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,7 @@
+Fri Oct 16 13:40:09 2009  Nobuyoshi Nakada  &lt;nobu@ruby-lang.org&gt;
+
+	* gc.h (rb_gc_debug_body): constified.
+
 Fri Oct 16 13:20:39 2009  NARUSE, Yui  &lt;naruse@ruby-lang.org&gt;
 
 	* ext/bigdecimal/bigdecimal.c (VpMidRound): remove warnings.</diff>
      <filename>ChangeLog</filename>
    </modified>
    <modified>
      <diff>@@ -26,7 +26,7 @@ rb_gc_debug_indent(void)
 }
 
 static void
-rb_gc_debug_body(char *mode, char *msg, int st, void *ptr)
+rb_gc_debug_body(const char *mode, const char *msg, int st, void *ptr)
 {
     if (st == 0) {
 	ruby_gc_debug_indent--;</diff>
      <filename>gc.h</filename>
    </modified>
    <modified>
      <diff>@@ -11,7 +11,7 @@
 
 #include &quot;ruby/ruby.h&quot;
 
-/* #define MARK_FREE_DEBUG 1 */
+/* #define RUBY_MARK_FREE_DEBUG 1 */
 #include &quot;gc.h&quot;
 #include &quot;vm_core.h&quot;
 #include &quot;iseq.h&quot;
@@ -63,10 +63,12 @@ iseq_free(void *ptr)
     if (ptr) {
 	iseq = ptr;
 	if (!iseq-&gt;orig) {
-	    /* It's possible that strings are freed
-	     * GC_INFO(&quot;%s @ %s\n&quot;, RSTRING_PTR(iseq-&gt;name),
-	     *                      RSTRING_PTR(iseq-&gt;filename));
-	     */
+	    /* It's possible that strings are freed */
+	    if (0) {
+		RUBY_GC_INFO(&quot;%s @ %s\n&quot;, RSTRING_PTR(iseq-&gt;name),
+					  RSTRING_PTR(iseq-&gt;filename));
+	    }
+
 	    if (iseq-&gt;iseq != iseq-&gt;iseq_encoded) {
 		RUBY_FREE_UNLESS_NULL(iseq-&gt;iseq_encoded);
 	    }</diff>
      <filename>iseq.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>459b72604e6e0811a521bc719dcb903a2920899f</id>
    </parent>
  </parents>
  <author>
    <name>nobu</name>
    <email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </author>
  <url>http://github.com/skaes/matzruby/commit/6114c7100db229df42bcf4ce3ac1a53c61a54435</url>
  <id>6114c7100db229df42bcf4ce3ac1a53c61a54435</id>
  <committed-date>2009-10-15T21:40:11-07:00</committed-date>
  <authored-date>2009-10-15T21:40:11-07:00</authored-date>
  <message>* gc.h (rb_gc_debug_body): constified.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e</message>
  <tree>87aa1b283aa06247a9492e7e4d6fbf536b621611</tree>
  <committer>
    <name>nobu</name>
    <email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </committer>
</commit>
