diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-10-02 14:59:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-10-02 14:59:25 +0000 |
commit | c13da3077f0bf4bfe474501d435a0e798175e59a (patch) | |
tree | 9126bfc47ee662b8a7e2e47d28de217bed3fc948 /ext/tcltklib/tcltklib.c | |
parent | 753cc4cdfeeb2bca48b4e8a703384401109370e5 (diff) | |
download | ruby-c13da3077f0bf4bfe474501d435a0e798175e59a.tar.gz ruby-c13da3077f0bf4bfe474501d435a0e798175e59a.tar.xz ruby-c13da3077f0bf4bfe474501d435a0e798175e59a.zip |
* configure.in (RUBY_CHECK_IO_NEED_FLUSH): check whether fflush()
is needed.
* io.c (flush_before_seek): flush before seek if buffered data
may remain.
* io.c (rb_io_check_readable): flush if the last operation was
write.
* io.c (rb_io_check_writable): flush if the last operation was
read.
* rubyio.h (FMODE_RBUF): added.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib/tcltklib.c')
0 files changed, 0 insertions, 0 deletions