<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,6 @@
 Ruby is copyrighted free software by Yukihiro Matsumoto &lt;matz@netlab.jp&gt;.
 You can redistribute it and/or modify it under either the terms of the GPL
-(see the file GPL), or the conditions below:
+version 2 (see the file GPL), or the conditions below:
 
   1. You may make and give away verbatim copies of the source form of the
      software without restriction, provided that you duplicate all of the</diff>
      <filename>COPYING</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,21 @@
+Mon Apr 10 01:03:10 2006  Yukihiro Matsumoto  &lt;matz@ruby-lang.org&gt;
+
+	* prec.c (prec_prec_f): documentation patch from
+	  &lt;gerardo.santana at gmail.com&gt;.  [ruby-core:07689]
+
+Sat Apr  8 02:34:34 2006  Yukihiro Matsumoto  &lt;matz@ruby-lang.org&gt;
+
+	* bignum.c (rb_big_pow): second operand may be too big even if
+	  it's a Fixnum.  [ruby-talk:187984]
+
+Sat Apr  8 02:12:38 2006  Yukihiro Matsumoto  &lt;matz@ruby-lang.org&gt;
+
+	* README.EXT: update symbol description.  [ruby-talk:188104]
+
+Thu Apr  6 23:28:47 2006  Yukihiro Matsumoto  &lt;matz@ruby-lang.org&gt;
+
+	* COPYING: explicitly note GPLv2.  [ruby-talk:187922]
+
 Thu Apr  6 11:18:37 2006  Hidetoshi NAGAI  &lt;nagai@ai.kyutech.ac.jp&gt;
 
 	* ext/tk/lib/tk/panedwindow.rb: lack of arguments. [ruby-core:7681]</diff>
      <filename>ChangeLog</filename>
    </modified>
    <modified>
      <diff>@@ -330,17 +330,30 @@ of the innermost method (which is defined by Ruby) can be accessed.
 
 2.2.2 ID or Symbol
 
-You can invoke methods directly, without parsing the string.  First I
-need to explain about symbols (whose data type is ID).  ID is the
-integer number to represent Ruby's identifiers such as variable names.
-It can be accessed from Ruby in the form:
+You can invoke methods directly, without parsing the string.  First I need
+to explain about ID.  ID is the integer number to represent Ruby's
+identifiers such as variable names.  The Ruby data type corresponding to ID
+is Symbol.  It can be accessed from Ruby in the form:
 
  :Identifier
 
-You can get the symbol value from a string within C code by using
+You can get the ID value from a string within C code by using
 
   rb_intern(const char *name)
 
+You can retrieve ID from Ruby object (Symbol or String) given as an
+argument by using
+
+  rb_to_id(VALUE symbol)
+
+You can convert C ID to Ruby Symbol by using
+
+  VALUE ID2SYM(ID id)
+
+and to convert Ruby Symbol object to ID, use
+
+  ID SYM2ID(VALUE symbol)
+
 2.2.3 Invoke Ruby method from C
 
 To invoke methods directly, you can use the function below</diff>
      <filename>README.EXT</filename>
    </modified>
    <modified>
      <diff>@@ -380,7 +380,8 @@ C
 &#164;&#185;&#161;&#165;&#164;&#189;&#164;&#206;&#193;&#176;&#164;&#203;&#161;&#164;Ruby&#165;&#164;&#165;&#243;&#165;&#191;&#165;&#215;&#165;&#234;&#165;&#191;&#198;&#226;&#164;&#199;&#165;&#225;&#165;&#189;&#165;&#195;&#165;&#201;&#164;&#228;&#202;&#209;&#191;&#244;&#204;&#190;&#164;&#242;&#187;&#216;&#196;&#234;&#164;&#185;&#164;&#235;
 &#187;&#254;&#164;&#203;&#187;&#200;&#164;&#239;&#164;&#236;&#164;&#198;&#164;&#164;&#164;&#235;ID&#164;&#203;&#164;&#196;&#164;&#164;&#164;&#198;&#192;&#226;&#204;&#192;&#164;&#183;&#164;&#198;&#164;&#170;&#164;&#173;&#164;&#222;&#164;&#183;&#164;&#231;&#164;&#166;&#161;&#165;
 
-ID&#164;&#200;&#164;&#207;&#202;&#209;&#191;&#244;&#204;&#190;&#161;&#164;&#165;&#225;&#165;&#189;&#165;&#195;&#165;&#201;&#204;&#190;&#164;&#242;&#201;&#189;&#164;&#185;&#192;&#176;&#191;&#244;&#164;&#199;&#164;&#185;&#161;&#165;Ruby&#164;&#206;&#195;&#230;&#164;&#199;&#164;&#207;
+ID&#164;&#200;&#164;&#207;&#202;&#209;&#191;&#244;&#204;&#190;&#161;&#164;&#165;&#225;&#165;&#189;&#165;&#195;&#165;&#201;&#204;&#190;&#164;&#242;&#201;&#189;&#164;&#185;&#192;&#176;&#191;&#244;&#164;&#199;&#164;&#185;&#161;&#165;Ruby&#164;&#199;&#164;&#207;ID&#164;&#203;&#194;&#208;&#177;&#254;&#164;&#185;&#164;&#235;
+&#165;&#170;&#165;&#214;&#165;&#184;&#165;&#167;&#165;&#175;&#165;&#200;&#164;&#200;&#164;&#183;&#164;&#198;&#165;&#183;&#165;&#243;&#165;&#220;&#165;&#235;(Symbol)&#164;&#172;&#164;&#162;&#164;&#234;&#161;&#164;
 
  :&#188;&#177;&#202;&#204;&#187;&#210;
 
@@ -393,6 +394,14 @@ ID
 
   rb_to_id(VALUE symbol)
 
+ID&#164;&#171;&#164;&#233;&#165;&#183;&#165;&#243;&#165;&#220;&#165;&#235;&#164;&#242;&#198;&#192;&#164;&#235;&#164;&#191;&#164;&#225;&#164;&#203;&#164;&#207;&#176;&#202;&#178;&#188;&#164;&#206;&#165;&#222;&#165;&#175;&#165;&#237;&#164;&#242;&#187;&#200;&#164;&#164;&#164;&#222;&#164;&#185;&#161;&#165;
+
+  VALUE ID2SYM(ID id)
+
+&#165;&#183;&#165;&#243;&#165;&#220;&#165;&#235;&#164;&#171;&#164;&#233;ID&#164;&#242;&#198;&#192;&#164;&#235;&#164;&#191;&#164;&#225;&#164;&#203;&#164;&#207;&#176;&#202;&#178;&#188;&#164;&#206;&#165;&#222;&#165;&#175;&#165;&#237;&#164;&#242;&#187;&#200;&#164;&#164;&#164;&#222;&#164;&#185;&#161;&#165;
+
+  ID SYM2ID(VALUE symbol)
+
 2.2.3 C&#164;&#171;&#164;&#233;Ruby&#164;&#206;&#165;&#225;&#165;&#189;&#165;&#195;&#165;&#201;&#164;&#242;&#184;&#198;&#164;&#211;&#189;&#208;&#164;&#185;
 
 C&#164;&#171;&#164;&#233;&#202;&#184;&#187;&#250;&#206;&#243;&#164;&#242;&#183;&#208;&#205;&#179;&#164;&#187;&#164;&#186;&#164;&#203;Ruby&#164;&#206;&#165;&#225;&#165;&#189;&#165;&#195;&#165;&#201;&#164;&#242;&#184;&#198;&#164;&#211;&#189;&#208;&#164;&#185;&#164;&#191;&#164;&#225;&#164;&#203;&#164;&#207;&#176;&#202;&#178;&#188;</diff>
      <filename>README.EXT.ja</filename>
    </modified>
    <modified>
      <diff>@@ -1606,6 +1606,11 @@ rb_big_pow(x, y)
 	if (yy &gt; 0) {
 	    VALUE z = x;
 
+	    if (RBIGNUM(x)-&gt;len * SIZEOF_BDIGITS * yy &gt; 1024*1024) {
+		rb_warn(&quot;in a**b, b may be too big&quot;);
+		d = (double)yy;
+		break;
+	    }
 	    for (;;) {
 		yy -= 1;
 		if (yy == 0) break;</diff>
      <filename>bignum.c</filename>
    </modified>
    <modified>
      <diff>@@ -57,9 +57,9 @@ prec_prec_i(x)
 
 /*
  *  call-seq:
- *    num.prec_f  =&gt;  Integer
+ *    num.prec_f  =&gt;  Float
  *
- *  Returns an +Float+ converted from _num_. It is equivalent 
+ *  Returns a +Float+ converted from _num_. It is equivalent 
  *  to &lt;code&gt;prec(Float)&lt;/code&gt;.
  */
 </diff>
      <filename>prec.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5fa520c911de3c26095678cfcdef4e2a091dde5c</id>
    </parent>
  </parents>
  <author>
    <name>matz</name>
    <email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </author>
  <url>http://github.com/FooBarWidget/rubyenterpriseedition/commit/68935b123e30171444098cc1aa06a52952d80d2d</url>
  <id>68935b123e30171444098cc1aa06a52952d80d2d</id>
  <committed-date>2006-04-09T09:10:40-07:00</committed-date>
  <authored-date>2006-04-09T09:10:40-07:00</authored-date>
  <message>* prec.c (prec_prec_f): documentation patch from
  &lt;gerardo.santana at gmail.com&gt;.  [ruby-core:07689]

* bignum.c (rb_big_pow): second operand may be too big even if
  it's a Fixnum.  [ruby-talk:187984]

* README.EXT: update symbol description.  [ruby-talk:188104]

* COPYING: explicitly note GPLv2.  [ruby-talk:187922]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e</message>
  <tree>4aeb22100633f4e4d604b93b72505ba9eba117c0</tree>
  <committer>
    <name>matz</name>
    <email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </committer>
</commit>
