remove a compile error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8fefe64adc
commit
47cc870a5a
2
io.c
2
io.c
@ -7193,7 +7193,7 @@ argf_readchar(VALUE argf)
|
|||||||
VALUE ch;
|
VALUE ch;
|
||||||
|
|
||||||
retry:
|
retry:
|
||||||
if (!next_argv()) return rb_eof_error();
|
if (!next_argv()) rb_eof_error();
|
||||||
if (TYPE(current_file) != T_FILE) {
|
if (TYPE(current_file) != T_FILE) {
|
||||||
ch = rb_funcall3(current_file, rb_intern("getc"), 0, 0);
|
ch = rb_funcall3(current_file, rb_intern("getc"), 0, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user