зеркало из https://github.com/github/ruby.git
* enc/trans/make_transdb.rb: *.erb.c is not used anymore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
6d87cec02c
Коммит
79cd32fe3b
|
@ -1,3 +1,7 @@
|
|||
Tue Aug 12 18:43:10 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* enc/trans/make_transdb.rb: *.erb.c is not used anymore.
|
||||
|
||||
Tue Aug 12 18:32:33 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* transcode_data.h (rb_trans_elem_t): new field: from and to.
|
||||
|
|
|
@ -14,7 +14,7 @@ transdirs << 'enc/trans' if transdirs.empty?
|
|||
files = {}
|
||||
transdirs.each do |transdir|
|
||||
next unless File.directory?(transdir)
|
||||
Dir.open(transdir) {|d| d.grep(/.+\.[ch]\z/).reject {|n| /\.erb\.c\z/ =~ n }}.sort_by {|e|
|
||||
Dir.open(transdir) {|d| d.grep(/.+\.[ch]\z/) }.sort_by {|e|
|
||||
e.scan(/(\d+)|(\D+)/).map {|n,a| a||[n.size,n.to_i]}.flatten
|
||||
}.each do |fn|
|
||||
next if files[fn]
|
||||
|
|
Загрузка…
Ссылка в новой задаче