diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-21 15:08:27 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-21 15:08:27 +0000 |
commit | 85b6a42fbe10afdcbc618aa32e05923782690311 (patch) | |
tree | a681f81732713690b264ebb18ee575d2675d5334 /ext/stringio | |
parent | 19c8f9cea560167197e0b162af700b1cc5bc370b (diff) | |
download | ruby-85b6a42fbe10afdcbc618aa32e05923782690311.tar.gz |
* ext/stringio/stringio.c (strio_set_pos): clear EOF flag.
[ruby-talk:127511]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/stringio')
-rw-r--r-- | ext/stringio/stringio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c index 8750262c11..7c1e4ba5f9 100644 --- a/ext/stringio/stringio.c +++ b/ext/stringio/stringio.c @@ -480,6 +480,7 @@ strio_set_pos(self, pos) error_inval(0); } ptr->pos = p; + ptr->flags &= ~STRIO_EOF; return pos; } |