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

ruby-changes:15254

From: nobu <ko1@a...>
Date: Thu, 1 Apr 2010 11:37:18 +0900 (JST)
Subject: [ruby-changes:15254] Ruby:r27136 (trunk): * io.c (rb_io_initialize): fixed a rdoc miss that textmode and

nobu	2010-04-01 11:36:33 +0900 (Thu, 01 Apr 2010)

  New Revision: 27136

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27136

  Log:
    * io.c (rb_io_initialize): fixed a rdoc miss that textmode and
      bimode flag explanation was reversed each other.  a patch from
      Heesob Park in [ruby-core:29166].

  Modified files:
    trunk/ChangeLog
    trunk/io.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27135)
+++ ChangeLog	(revision 27136)
@@ -1,3 +1,9 @@
+Thu Apr  1 11:36:04 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* io.c (rb_io_initialize): fixed a rdoc miss that textmode and
+	  bimode flag explanation was reversed each other.  a patch from
+	  Heesob Park in [ruby-core:29166].
+
 Thu Apr  1 09:54:27 2010  Nobuyoshi Nakada  <nobu@r...>
 
 	* include/ruby/ruby.h (RUBY_{DEFAULT,NEVER}_FREE): added.
Index: io.c
===================================================================
--- io.c	(revision 27135)
+++ io.c	(revision 27136)
@@ -6316,9 +6316,9 @@
  *  :encoding ::
  *    specifies external and internal encodings as "extern:intern".
  *  :textmode ::
+ *    If the value is truth value, same as "t" in argument <code>mode</code>.
+ *  :binmode ::
  *    If the value is truth value, same as "b" in argument <code>mode</code>.
- *  :binmode ::
- *    If the value is truth value, same as "t" in argument <code>mode</code>.
  *  :autoclose ::
  *    If the value is +false+, the _fd_ will be kept open after this
  *    +IO+ instance gets finalized.

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

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