From dea1baa169ca752a5bde28c88d96feb622a0787b Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 28 Jul 2003 07:31:52 +0000 Subject: * ext/stringio/stringio.c (strio_gets): only "gets" should set $_. * ext/stringio/stringio.c (strio_getline): should not set $_ here. * io.c (argf_to_s): argf.to_s returns "ARGF". * io.c (set_defout_var, set_deferr_var): make $defout and $deferr obsolete. * io.c (set_input_var, set_output_var): allow $stdin, $stdout, $stderr not to be instance of IO. * io.c (rb_f_readline): forward method to current_file. gets, readline, readlines, getc, readchar, tell, seek, pos=, rewind, fileno, to_io, eof, each_line, each_byte, binmode, and closed? as well. * io.c (argf_forward): utility function to forward method to current_file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.h | 1 - 1 file changed, 1 deletion(-) (limited to 'ruby.h') diff --git a/ruby.h b/ruby.h index a09529bb12..8de1a2f425 100644 --- a/ruby.h +++ b/ruby.h @@ -613,7 +613,6 @@ RUBY_EXTERN VALUE rb_eNameError; RUBY_EXTERN VALUE rb_eSyntaxError; RUBY_EXTERN VALUE rb_eLoadError; -RUBY_EXTERN VALUE rb_defout, rb_deferr; RUBY_EXTERN VALUE rb_stdin, rb_stdout, rb_stderr; RUBY_EXTERN VALUE ruby_errinfo; -- cgit v1.2.1