<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,9 @@
+Sat Jun 28 19:26:43 2008  URABE Shyouhei  &lt;shyouhei@ruby-lang.org&gt;
+
+	* class.c (clone_method): use rb_copy_node_scope.
+	  fixed [ruby-list:45102]
+	  fixed [ruby-core:17393]
+
 Sat Jun 28 19:25:56 2008  Akinori MUSHA  &lt;knu@iDaemons.org&gt;
 
 	* eval.c (rb_copy_node_scope), node.h: Rename from copy_node_scope</diff>
      <filename>ChangeLog</filename>
    </modified>
    <modified>
      <diff>@@ -62,10 +62,7 @@ clone_method(mid, body, data)
     NODE *fbody = body-&gt;nd_body;
 
     if (fbody &amp;&amp; nd_type(fbody) == NODE_SCOPE) {
-	VALUE cref = data-&gt;klass ?
-	    (VALUE)NEW_NODE(NODE_CREF,data-&gt;klass,0,fbody-&gt;nd_rval) :
-	    fbody-&gt;nd_rval;
-	fbody = NEW_NODE(NODE_SCOPE, fbody-&gt;nd_tbl, cref, fbody-&gt;nd_next);
+	fbody = rb_copy_node_scope(fbody, ruby_cref);
     }
     st_insert(data-&gt;tbl, mid, (st_data_t)NEW_METHOD(fbody, body-&gt;nd_noex));
     return ST_CONTINUE;</diff>
      <filename>class.c</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@
 #define RUBY_RELEASE_DATE &quot;2008-06-28&quot;
 #define RUBY_VERSION_CODE 186
 #define RUBY_RELEASE_CODE 20080628
-#define RUBY_PATCHLEVEL 237
+#define RUBY_PATCHLEVEL 238
 
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 8</diff>
      <filename>version.h</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>297708b9e7c8b6f908b6a40011963c3e54619c90</id>
    </parent>
  </parents>
  <author>
    <name>shyouhei</name>
    <email>shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </author>
  <url>http://github.com/FooBarWidget/rubyenterpriseedition/commit/84a9a12d569999d28b52b244ed9cbe18fab8983a</url>
  <id>84a9a12d569999d28b52b244ed9cbe18fab8983a</id>
  <committed-date>2008-06-28T03:27:21-07:00</committed-date>
  <authored-date>2008-06-28T03:27:21-07:00</authored-date>
  <message>merge revision(s) 17625:
	* class.c (clone_method): use rb_copy_node_scope.
	  fixed [ruby-list:45102]
	  fixed [ruby-core:17393]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e</message>
  <tree>d36fdbb570f6ef64cbff9dbe844602d3f87d8757</tree>
  <committer>
    <name>shyouhei</name>
    <email>shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </committer>
</commit>
