[前][次][番号順一覧][スレッド一覧]

ruby-changes:3609

From: ko1@a...
Date: Fri, 18 Jan 2008 07:26:34 +0900 (JST)
Subject: [ruby-changes:3609] matz - Ruby:r15098 (trunk): * io.c (Init_IO): stdin/stdout may not be duplex.

matz	2008-01-18 07:21:40 +0900 (Fri, 18 Jan 2008)

  New Revision: 15098

  Modified files:
    trunk/ChangeLog
    trunk/io.c

  Log:
    * io.c (Init_IO): stdin/stdout may not be duplex.

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15098&r2=15097&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/io.c?r1=15098&r2=15097&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 15097)
+++ ChangeLog	(revision 15098)
@@ -1,3 +1,7 @@
+Fri Jan 18 07:06:25 2008  Yukihiro Matsumoto  <matz@r...>
+
+	* io.c (Init_IO): stdin/stdout may not be duplex.
+
 Fri Jan 18 04:27:57 2008  Eric Hodel  <drbrain@s...>
 
 	* sample/rdoc/markup/rdoc2latex.rb:  Fix for new namespacing.
Index: io.c
===================================================================
--- io.c	(revision 15097)
+++ io.c	(revision 15098)
@@ -6652,7 +6652,6 @@
     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);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]