diff --git a/ChangeLog b/ChangeLog index e1079dd1dc..c50d2cd4f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 12 18:43:10 2008 Tanaka Akira + + * enc/trans/make_transdb.rb: *.erb.c is not used anymore. + Tue Aug 12 18:32:33 2008 Tanaka Akira * transcode_data.h (rb_trans_elem_t): new field: from and to. diff --git a/enc/trans/make_transdb.rb b/enc/trans/make_transdb.rb index 20c3a7157a..50d4f169f3 100644 --- a/enc/trans/make_transdb.rb +++ b/enc/trans/make_transdb.rb @@ -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]