From: Brian Candler Date: 2003-07-28T19:11:10+09:00 Subject: Re: 1.8.0, fcgi and $stdout/$stderr On Mon, Jul 28, 2003 at 05:28:56PM +0900, Yukihiro Matsumoto wrote: > Hi, > > In message "1.8.0, fcgi and $stdout/$stderr" > on 03/07/28, Brian Candler writes: > > |/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:476: warning: assignment to $stdout is deprecated; use STDOUT.reopen() instead > |/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:476:in `each_cgi': $stdout is a read-only variable (NameError) > | from /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:473:in `each' > | from /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:473:in `each_cgi' > | > |(One problem is that Ruby gives both a warning and an error; either > |assignment should be allowed with a warning, or disallowed, not both :-) > > Fortunately for you, $stdin etc. now become assignable again in > preview5. Thank you. I hope it wasn't just for me :-) Cheers, Brian.