diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-28 16:31:12 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-28 16:31:12 +0000 |
| commit | 9fd5e5e0e5126156edaa5759813dc0da4faee058 (patch) | |
| tree | 600d5c5c91f702b17a5b71b00edb4210e89aa65d /ChangeLog | |
| parent | fbbbb9dfaddf493ded32c713ebc0d69b14f99469 (diff) | |
| download | ruby-9fd5e5e0e5126156edaa5759813dc0da4faee058.tar.gz ruby-9fd5e5e0e5126156edaa5759813dc0da4faee058.tar.xz ruby-9fd5e5e0e5126156edaa5759813dc0da4faee058.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Mon Nov 29 01:18:18 2004 Tanaka Akira <akr@m17n.org> + + * 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 <akr@m17n.org> * io.c: avoid data lost with nonblocking fd and |
