From 4c97d899576a380680a6f852a6758a495a53503f Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 28 Nov 2004 16:31:12 +0000 Subject: * io.c (rb_io_check_writable): restrict io_seek by READ_DATA_PENDING because io_seek(fptr, 0, SEEK_CUR) is meaningful only if read buffer is not empty. call io_seek regardless of NEED_IO_SEEK_BETWEEN_RW. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index f6cdccd868..e844d180b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Mon Nov 29 01:18:18 2004 Tanaka Akira + + * io.c (rb_io_check_writable): restrict io_seek by + READ_DATA_PENDING because io_seek(fptr, 0, SEEK_CUR) is + meaningful only if read buffer is not empty. + call io_seek regardless of NEED_IO_SEEK_BETWEEN_RW. + Sat Nov 27 21:43:39 2004 Tanaka Akira * io.c: avoid data lost with nonblocking fd and -- cgit v1.2.3