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

ruby-changes:2155

From: ko1@a...
Date: 6 Oct 2007 23:18:07 +0900
Subject: [ruby-changes:2155] matz - Ruby:r13646 (ruby_1_8): * string.c (rb_str_to_i): update RDoc since base can be any value

matz	2007-10-06 23:17:55 +0900 (Sat, 06 Oct 2007)

  New Revision: 13646

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/string.c
    branches/ruby_1_8/version.h

  Log:
    * string.c (rb_str_to_i): update RDoc since base can be any value
      between 2 and 36.  [ruby-talk:272879]

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=13646&r2=13645
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/version.h?r1=13646&r2=13645
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/string.c?r1=13646&r2=13645

Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 13645)
+++ ruby_1_8/ChangeLog	(revision 13646)
@@ -1,3 +1,8 @@
+Sat Oct  6 23:14:54 2007  Yukihiro Matsumoto  <matz@r...>
+
+	* string.c (rb_str_to_i): update RDoc since base can be any value
+	  between 2 and 36.  [ruby-talk:272879]
+
 Fri Oct  5 15:44:50 2007  Akinori MUSHA  <knu@i...>
 
 	* lib/shellwords.rb: Add shellescape() and shelljoin().
Index: ruby_1_8/version.h
===================================================================
--- ruby_1_8/version.h	(revision 13645)
+++ ruby_1_8/version.h	(revision 13646)
@@ -1,7 +1,7 @@
 #define RUBY_VERSION "1.8.6"
-#define RUBY_RELEASE_DATE "2007-10-05"
+#define RUBY_RELEASE_DATE "2007-10-06"
 #define RUBY_VERSION_CODE 186
-#define RUBY_RELEASE_CODE 20071005
+#define RUBY_RELEASE_CODE 20071006
 #define RUBY_PATCHLEVEL 5000
 
 #define RUBY_VERSION_MAJOR 1
@@ -9,7 +9,7 @@
 #define RUBY_VERSION_TEENY 6
 #define RUBY_RELEASE_YEAR 2007
 #define RUBY_RELEASE_MONTH 10
-#define RUBY_RELEASE_DAY 5
+#define RUBY_RELEASE_DAY 6
 
 #ifdef RUBY_EXTERN
 RUBY_EXTERN const char ruby_version[];
Index: ruby_1_8/string.c
===================================================================
--- ruby_1_8/string.c	(revision 13645)
+++ ruby_1_8/string.c	(revision 13646)
@@ -2475,7 +2475,7 @@
  *     str.to_i(base=10)   => integer
  *  
  *  Returns the result of interpreting leading characters in <i>str</i> as an
- *  integer base <i>base</i> (2, 8, 10, or 16). Extraneous characters past the
+ *  integer base <i>base</i> (between 2 and 36). Extraneous characters past the
  *  end of a valid number are ignored. If there is not a valid number at the
  *  start of <i>str</i>, <code>0</code> is returned. This method never raises an
  *  exception.

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

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