From: Shugo Maeda Date: 2003-08-19T11:25:52+09:00 Subject: [ruby-dev:21213] should not call GetOpenFile() if rb_stdout is not a IO 前田です。 $ ruby -e 's = String.new; def s.write(x); s << x; end; $stdout = s; p readlines' -e:1:in `readlines': uninitialized stream (IOError) from -e:1 となるバグがあったので、修正をcommitしました。 ChangeLogより: Tue Aug 19 11:19:33 2003 Shugo Maeda * io.c (next_argv): should not call GetOpenFile() if rb_stdout is not a IO (T_FILE). -- 前田 修吾