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

ruby-changes:38184

From: nobu <ko1@a...>
Date: Sun, 12 Apr 2015 23:18:42 +0900 (JST)
Subject: [ruby-changes:38184] nobu:r50261 (trunk): wait.c: fix rdoc

nobu	2015-04-12 15:07:48 +0900 (Sun, 12 Apr 2015)

  New Revision: 50261

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

  Log:
    wait.c: fix rdoc
    
    * ext/io/wait/wait.c (io_wait_writable): fix rdoc.  no EOF to
      write.  retursn nil when timeout, not self.

  Modified files:
    trunk/ext/io/wait/wait.c
Index: ext/io/wait/wait.c
===================================================================
--- ext/io/wait/wait.c	(revision 50260)
+++ ext/io/wait/wait.c	(revision 50261)
@@ -151,8 +151,8 @@ io_wait_readable(int argc, VALUE *argv, https://github.com/ruby/ruby/blob/trunk/ext/io/wait/wait.c#L151
  *   io.wait_writable          -> IO
  *   io.wait_writable(timeout) -> IO or nil
  *
- * Waits until IO writable is available or times out and returns self or
- * nil when EOF is reached.
+ * Waits until IO is writable without blocking and returns +self+ or
+ * +nil+ when times out.
  */
 static VALUE
 io_wait_writable(int argc, VALUE *argv, VALUE io)

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

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