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

ruby-changes:15517

From: usa <ko1@a...>
Date: Tue, 20 Apr 2010 22:40:25 +0900 (JST)
Subject: [ruby-changes:15517] Ruby:r27419 (trunk): * io.c: rdoc. see .

usa	2010-04-20 22:40:15 +0900 (Tue, 20 Apr 2010)

  New Revision: 27419

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

  Log:
    * io.c: rdoc.  see [ruby-dev:40506].

  Modified files:
    trunk/io.c

Index: io.c
===================================================================
--- io.c	(revision 27418)
+++ io.c	(revision 27419)
@@ -2026,6 +2026,10 @@
  *  Note that this doesn't guarantee to write all data in string.
  *  The length written is reported as result and it should be checked later.
  *
+ *  On some platforms such as Windows, write_nonblock is not supported
+ *  according to the kind of the IO object.
+ *  In such cases, write_nonblock raises <code>Errno::EBADF</code>.
+ *
  */
 
 static VALUE
@@ -6314,6 +6318,8 @@
  *  <code>intern</code> is the internal encoding.
  *  <code>fmode</code> must be combination of the directives. See
  *  the description of class +IO+ for a description of the directives.
+ *  Changing reading/writing mode from the original io object is not
+ *  supported on some platforms, e.g. Windows.
  *
  *  ==== Options
  *  <code>opt</code> can have the following keys

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

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