diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-09 08:05:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-09 08:05:32 +0000 |
commit | 458bd16496a3cd6dc97e98cf80e51cfe8d9d0fa2 (patch) | |
tree | 26c8cdcbb0f6a28883ad894bcfae033df866b1ce /ruby.c | |
parent | 7b2cc3097c611605ad2b7a8284674ca552a85859 (diff) | |
download | ruby-458bd16496a3cd6dc97e98cf80e51cfe8d9d0fa2.tar.gz ruby-458bd16496a3cd6dc97e98cf80e51cfe8d9d0fa2.tar.xz ruby-458bd16496a3cd6dc97e98cf80e51cfe8d9d0fa2.zip |
* configure.in (RUBY_CHECK_IO_NEED): check whether fseek() and
fflush() are needed.
* io.c (flush_before_seek): flush write stream only.
* io.c (rb_io_check_readable): seek instead of flush if the last
operation was write.
* io.c (rb_io_check_writable): seek instead of flush if the last
operation was read.
* bcc32/Makefile.sub, win32/Makefile.sub: needs to seek between
R/W.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
0 files changed, 0 insertions, 0 deletions