diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | io.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri Jan 18 07:06:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org> + + * io.c (Init_IO): stdin/stdout may not be duplex. + Fri Jan 18 04:27:57 2008 Eric Hodel <drbrain@segment7.net> * sample/rdoc/markup/rdoc2latex.rb: Fix for new namespacing. @@ -6652,7 +6652,6 @@ Init_IO(void) rb_define_hooked_variable("$>", &rb_stdout, 0, stdout_setter); orig_stdout = rb_stdout; rb_deferr = orig_stderr = rb_stderr; - RFILE(rb_stdin)->fptr->tied_io_for_writing = rb_stdout; /* constants to hold original stdin/stdout/stderr */ rb_define_global_const("STDIN", rb_stdin); |