diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-02-18 14:30:17 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-02-18 14:30:17 +0000 |
commit | b654e1dd8bca6b5831f8d58902a7c573ebb1cb03 (patch) | |
tree | 1cdebfa2fe2170d793fd70ece0e7dd9d97d1ede5 /io.c | |
parent | 7c18d988fce265673cbb84c6c4523f4d4aba856e (diff) | |
download | ruby-b654e1dd8bca6b5831f8d58902a7c573ebb1cb03.tar.gz ruby-b654e1dd8bca6b5831f8d58902a7c573ebb1cb03.tar.xz ruby-b654e1dd8bca6b5831f8d58902a7c573ebb1cb03.zip |
* eval.c (rb_call0): should not report uninitialized warning by
attribute reader method.
* variable.c (rb_attr_get): new function to get instance variable
without uninitialized warning.
* io.c (argf_to_io): should prefetch argv.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3698,6 +3698,7 @@ argf_fileno() static VALUE argf_to_io() { + next_argv(); return current_file; } |