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

ruby-changes:10558

From: akr <ko1@a...>
Date: Sat, 7 Feb 2009 23:51:06 +0900 (JST)
Subject: [ruby-changes:10558] Ruby:r22113 (ruby_1_8): update rdoc.

akr	2009-02-07 23:50:58 +0900 (Sat, 07 Feb 2009)

  New Revision: 22113

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

  Log:
    update rdoc.

  Modified files:
    branches/ruby_1_8/io.c

Index: ruby_1_8/io.c
===================================================================
--- ruby_1_8/io.c	(revision 22112)
+++ ruby_1_8/io.c	(revision 22113)
@@ -1351,8 +1351,9 @@
  *  The later means that readpartial is nonblocking-flag insensitive.
  *  It blocks on the situation IO#sysread causes Errno::EAGAIN as if the fd is blocking mode.
  *
- *  Since readpartial bypass internal stdio buffering mechanism,
- *  IO#pos may return wrong value after readpartial.
+ *  Since readpartial uses read system call directly,
+ *  the stdio buffering mechanism may confuse the file offset.
+ *  So IO#pos may return wrong value after readpartial.
  *  This problem is fixed by Ruby 1.9 which doesn't use stdio.
  */
 

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

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