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:
parent
dc20aac2ce
commit
1babcafb03
1 changed files with 3 additions and 2 deletions
5
io.c
5
io.c
|
@ -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.
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue