diff --git a/ChangeLog b/ChangeLog index afe340b179..a5abd3d37f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Jan 18 07:06:25 2008 Yukihiro Matsumoto + + * io.c (Init_IO): stdin/stdout may not be duplex. + Fri Jan 18 04:27:57 2008 Eric Hodel * sample/rdoc/markup/rdoc2latex.rb: Fix for new namespacing. diff --git a/io.c b/io.c index 734799a83a..1206b9bcaa 100644 --- a/io.c +++ b/io.c @@ -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);