mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/irb/input-method.rb: IRB did not prompt for MSwin32.
[ruby-dev:37686]. Patch by arton <artonx AT yahoo.co.jp>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fc8835a5bb
commit
a5fdc9de34
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Jan 13 11:58:04 2009 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* ext/socket/{getaddrinfo,getnameinfo}.c: need to include ws2tcpip.h
|
||||
|
|
|
@ -45,7 +45,7 @@ module IRB
|
|||
@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 @@ module IRB
|
|||
@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
|
||||
|
|
Loading…
Reference in a new issue