diff options
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7275,7 +7275,7 @@ io_reopen(VALUE io, VALUE nfile) rb_sys_fail(0); } else { - io_tell(fptr); + flush_before_seek(fptr); } if (orig->mode & FMODE_READABLE) { pos = io_tell(orig); |