diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-17 22:21:40 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-17 22:21:40 +0000 |
| commit | a5598ceb26cac304656200e41b12fb66f584587d (patch) | |
| tree | 1f34e2f42e9075eeec3dbe77602b3303272b942e | |
| parent | c14d466a515e6eaa635883ec79d0da6d5bb038a0 (diff) | |
| download | ruby-a5598ceb26cac304656200e41b12fb66f584587d.tar.gz ruby-a5598ceb26cac304656200e41b12fb66f584587d.tar.xz ruby-a5598ceb26cac304656200e41b12fb66f584587d.zip | |
* io.c (Init_IO): stdin/stdout may not be duplex.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -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); |
