1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

update rdoc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-02-07 14:50:58 +00:00
parent dc20aac2ce
commit 1babcafb03

5
io.c
View file

@ -1351,8 +1351,9 @@ io_getpartial(int argc, VALUE *argv, VALUE io, int nonblock)
* 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.
*/