зеркало из https://github.com/github/ruby.git
* io.c (Init_IO): stdin/stdout may not be duplex.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
d765a38bf5
Коммит
f7929ed206
|
@ -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.
|
||||
|
|
1
io.c
1
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче