diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-04 01:05:10 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-04 01:05:10 +0000 |
commit | cb3a1c5f37c556b3f85298deeed1ed15281c0bc9 (patch) | |
tree | 002823c09f67d148aa154e4777b4a5fa3cfdee0d /io.c | |
parent | 4ed5e8bb9f9b231fd6a815be664e4fec5e26f09a (diff) |
merge revision(s) 24283:24296:
* io.c (argf_eof): go to the next file if called after ARGF.close
or ARGF.skip. a patch from Mike Kasick at [ruby-core:24561].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@24747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5546,6 +5546,7 @@ argf_eof() { if (current_file) { if (init_p == 0) return Qtrue; + next_argv(); ARGF_FORWARD(0, 0); if (rb_io_eof(current_file)) { return Qtrue; |