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 | a9a621f281828cfa2ac5371804cfe65cb837c645 (patch) | |
| tree | 9a59ebdda3b5300ec0393b5cef2beaa8cce40f76 /test/ruby | |
| parent | 4d01bebdfd4122071edd4a2726f1032d6d4cd131 (diff) | |
| download | ruby-a9a621f281828cfa2ac5371804cfe65cb837c645.tar.gz ruby-a9a621f281828cfa2ac5371804cfe65cb837c645.tar.xz ruby-a9a621f281828cfa2ac5371804cfe65cb837c645.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/branches/ruby_1_8@7392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
