Actions
Bug #3239
closedext/tk on cygwin
Bug #3239:
ext/tk on cygwin
Description
=begin
なかだです。
cygdrive-prefixは変更可能なので、ドライブレターを正しく認識しな
い場合があります。
私は実際に変えています。¶
diff --git i/ext/tk/extconf.rb w/ext/tk/extconf.rb
index 676c132..a8adac2 100644
--- i/ext/tk/extconf.rb
+++ w/ext/tk/extconf.rb
@@ -112,5 +112,6 @@ def win_drive
case(RUBY_PLATFORM)
when /cygwin/
- ["/cygdrive/#{drive}", "/cygdrive/[A-Za-z]"]
- cygdrive =
mount --show-cygdrive-prefix.chomp - ["#{cygdrive}/#{drive}", "#{Regexp.quote(cygdrive)}/[A-Za-z]"]
else
["#{drive}:", "[A-Za-z]:"]
--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
中田 伸悦
=end
Actions