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 | 9233c9a14ce2772a46ff72e3e348d535bf96e61c (patch) | |
tree | 9a59ebdda3b5300ec0393b5cef2beaa8cce40f76 /misc | |
parent | 88df4b15800ac96435bff5cfa7a61c871e1616b1 (diff) |
* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions