diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-27 13:05:46 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-27 13:05:46 +0000 |
| commit | a45bdd4587115076417208aaefb315dd1b2f8d1e (patch) | |
| tree | b006b55a91d62b73189576520f975813a44aac11 /test/ruby | |
| parent | e4d191d5089ed13b1694ac99a3eac317d7ad2f47 (diff) | |
| download | ruby-a45bdd4587115076417208aaefb315dd1b2f8d1e.tar.gz ruby-a45bdd4587115076417208aaefb315dd1b2f8d1e.tar.xz ruby-a45bdd4587115076417208aaefb315dd1b2f8d1e.zip | |
* io.c: avoid avoid data loss with nonblocking fd and
stdio buffering in sync mode. [ruby-dev:24966]
based on matz's patch [ruby-dev:24967]
(io_fwrite): new primitive writing function which writes
directly if sync mode.
(rb_io_fwrite): wrapper for io_fwrite now.
(io_write): call io_fwrite instead of rb_io_fwrite.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
