diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-28 08:37:37 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-28 08:37:37 +0000 |
commit | 72eb7e2a41b40b344e5cc6c8927485da6de106cd (patch) | |
tree | 7efb4aec468d0283d5090ab159da85cb9242bc79 | |
parent | fbf3e22a3d4c365b0a4ce2f4349bcffd9d182850 (diff) |
* win32/mkexports.rb (Exports::Mswin#each_export): speed up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | win32/mkexports.rb | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Wed May 28 17:37:07 2008 NAKAMURA Usaku <usa@ruby-lang.org> + + * win32/mkexports.rb (Exports::Mswin#each_export): speed up. + Wed May 28 16:41:59 2008 Akinori MUSHA <knu@iDaemons.org> * array.c (rb_ary_slice_bang): Call rb_ary_modify_check() at the diff --git a/win32/mkexports.rb b/win32/mkexports.rb index 0c17466e09..e000fcf260 100755 --- a/win32/mkexports.rb +++ b/win32/mkexports.rb @@ -90,6 +90,7 @@ class Exports::Mswin < Exports case filetype when /OBJECT/, /LIBRARY/ next if /^[[:xdigit:]]+ 0+ UNDEF / =~ l + next unless /External/ =~ l next unless l.sub!(/.*?\s(\(\)\s+)?External\s+\|\s+/, '') is_data = !$1 if noprefix or /^[@_]/ =~ l |