ruby-changes:10003
From: yugui <ko1@a...>
Date: Fri, 16 Jan 2009 00:37:18 +0900 (JST)
Subject: [ruby-changes:10003] Ruby:r21546 (ruby_1_9_1): merges r21485 from trunk into ruby_1_9_1.
yugui 2009-01-16 00:36:57 +0900 (Fri, 16 Jan 2009) New Revision: 21546 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21546 Log: merges r21485 from trunk into ruby_1_9_1. * lib/irb/input-method.rb: IRB did not prompt for MSwin32. [ruby-dev:37686]. Patch by arton <artonx AT yahoo.co.jp>. Modified files: branches/ruby_1_9_1/ChangeLog branches/ruby_1_9_1/lib/irb/input-method.rb Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 21545) +++ ruby_1_9_1/ChangeLog (revision 21546) @@ -1,3 +1,9 @@ +Tue Jan 13 11:58:04 2009 Yuki Sonoda (Yugui) <yugui@y...> + + * lib/irb/input-method.rb: IRB did not prompt for MSwin32. + [ruby-dev:37686]. + Patch by arton <artonx AT yahoo.co.jp>. + Tue Jan 13 12:10:42 2009 NAKAMURA Usaku <usa@r...> * ext/socket/{getaddrinfo,getnameinfo}.c: need to include ws2tcpip.h Index: ruby_1_9_1/lib/irb/input-method.rb =================================================================== --- ruby_1_9_1/lib/irb/input-method.rb (revision 21545) +++ ruby_1_9_1/lib/irb/input-method.rb (revision 21546) @@ -45,7 +45,7 @@ @line_no = 0 @line = [] @stdin = IO.open(STDIN.to_i, :external_encoding => IRB.conf[:LC_MESSAGES].encoding, :internal_encoding => "-") - @stdout = IO.open(STDOUT.to_i, :external_encoding => IRB.conf[:LC_MESSAGES].encoding, :internal_encoding => "-") + @stdout = IO.open(STDOUT.to_i, 'w', :external_encoding => IRB.conf[:LC_MESSAGES].encoding, :internal_encoding => "-") end def gets @@ -106,7 +106,7 @@ @eof = false @stdin = IO.open(STDIN.to_i, :external_encoding => IRB.conf[:LC_MESSAGES].encoding, :internal_encoding => "-") - @stdout = IO.open(STDOUT.to_i, :external_encoding => IRB.conf[:LC_MESSAGES].encoding, :internal_encoding => "-") + @stdout = IO.open(STDOUT.to_i, 'w', :external_encoding => IRB.conf[:LC_MESSAGES].encoding, :internal_encoding => "-") end def gets -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/