diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-06-16 07:44:16 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-06-16 07:44:16 +0000 |
commit | 8d18d5b3f9d96be4120b89ff743856021de84e5b (patch) | |
tree | 11462788f23b7764043dec021eee3a0ae8ad46c4 /io.c | |
parent | 1199a7d3d6399d44662b9a8bea5f359d1fdd40c2 (diff) |
2000-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1799,6 +1799,7 @@ io_reopen(io, nfile) fptr->f = rb_fdopen(fd, mode); if (orig->mode & FMODE_READABLE && pos >= 0) { fseek(fptr->f, pos, SEEK_SET); + fseek(orig->f, pos, SEEK_SET); } } |