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

ruby-changes:4905

From: ko1@a...
Date: Tue, 13 May 2008 08:27:32 +0900 (JST)
Subject: [ruby-changes:4905] akr - Ruby:r16398 (trunk): * io.c (rb_f_gets.): re-enable rdoc.

akr	2008-05-13 08:27:17 +0900 (Tue, 13 May 2008)

  New Revision: 16398

  Modified files:
    trunk/ChangeLog
    trunk/io.c

  Log:
    * io.c (rb_f_gets.): re-enable rdoc.
      (rb_f_readline): ditto.
      (rb_f_readlines): ditto.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16398&r2=16397&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/io.c?r1=16398&r2=16397&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 16397)
+++ ChangeLog	(revision 16398)
@@ -1,3 +1,9 @@
+Tue May 13 08:25:31 2008  Tanaka Akira  <akr@f...>
+
+	* io.c (rb_f_gets.): re-enable rdoc.
+	  (rb_f_readline): ditto.
+	  (rb_f_readlines): ditto.
+
 Mon May 12 23:37:57 2008  Yusuke Endoh  <mame@t...>
 
 	* vm.c (collect_local_variables_in_env): remove unnecessary check
Index: io.c
===================================================================
--- io.c	(revision 16397)
+++ io.c	(revision 16398)
@@ -5366,6 +5366,8 @@
     lineno = INT2FIX(n);
 }
 
+static VALUE argf_gets(int, VALUE *, VALUE);
+
 /*
  *  call-seq:
  *     gets(sep=$/)    => string or nil
@@ -5399,7 +5401,6 @@
  *  parameter is gradually losing favor in the Ruby community.
  */
 
-static VALUE argf_gets(int, VALUE *, VALUE);
 static VALUE
 rb_f_gets(int argc, VALUE *argv, VALUE recv)
 {
@@ -5445,6 +5446,8 @@
     return line;
 }
 
+static VALUE argf_readline(int, VALUE *, VALUE);
+
 /*
  *  call-seq:
  *     readline(sep=$/)     => string
@@ -5455,7 +5458,6 @@
  *  +readline+ raises +EOFError+ at end of file.
  */
 
-static VALUE argf_readline(int, VALUE *, VALUE);
 static VALUE
 rb_f_readline(int argc, VALUE *argv, VALUE recv)
 {
@@ -5480,6 +5482,8 @@
     return line;
 }
 
+static VALUE argf_readlines(int, VALUE *, VALUE);
+
 /*
  *  call-seq:
  *     readlines(sep=$/)    => array
@@ -5490,7 +5494,6 @@
  *  <code>Kernel.gets(<i>sep</i>)</code> until the end of file.
  */
 
-static VALUE argf_readlines(int, VALUE *, VALUE);
 static VALUE
 rb_f_readlines(int argc, VALUE *argv, VALUE recv)
 {

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

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