зеркало из https://github.com/github/ruby.git
* lib/fileutils.rb: revert a line modified accidentally at r34669.
This fixes mingw test errors in TestDir_M17N. [ruby-core:42728] [Feature #4970] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
83f742f86f
Коммит
5cfba33a77
|
@ -1,3 +1,9 @@
|
|||
Mon Feb 20 21:16:48 2012 Hiroshi Shirosaki <h.shirosaki@gmail.com>
|
||||
|
||||
* lib/fileutils.rb: revert a line modified accidentally at r34669.
|
||||
This fixes mingw test errors in TestDir_M17N.
|
||||
[ruby-core:42728] [Feature #4970]
|
||||
|
||||
Mon Feb 20 21:09:27 2012 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/curses/curses.c (Init_curses): define Curses::VERSION.
|
||||
|
|
|
@ -1342,7 +1342,7 @@ private
|
|||
|
||||
def entries
|
||||
opts = {}
|
||||
opts[:encoding] = "UTF-8" if /mswin|mignw/ =~ RUBY_PLATFORM
|
||||
opts[:encoding] = ::Encoding::UTF_8 if fu_windows?
|
||||
Dir.entries(path(), opts)\
|
||||
.reject {|n| n == '.' or n == '..' }\
|
||||
.map {|n| Entry_.new(prefix(), join(rel(), n.untaint)) }
|
||||
|
|
Загрузка…
Ссылка в новой задаче