mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
fbf3e22a3d
commit
72eb7e2a41
2 changed files with 5 additions and 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>
|
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
|
* array.c (rb_ary_slice_bang): Call rb_ary_modify_check() at the
|
||||||
|
|
|
@ -90,6 +90,7 @@ class Exports::Mswin < Exports
|
||||||
case filetype
|
case filetype
|
||||||
when /OBJECT/, /LIBRARY/
|
when /OBJECT/, /LIBRARY/
|
||||||
next if /^[[:xdigit:]]+ 0+ UNDEF / =~ l
|
next if /^[[:xdigit:]]+ 0+ UNDEF / =~ l
|
||||||
|
next unless /External/ =~ l
|
||||||
next unless l.sub!(/.*?\s(\(\)\s+)?External\s+\|\s+/, '')
|
next unless l.sub!(/.*?\s(\(\)\s+)?External\s+\|\s+/, '')
|
||||||
is_data = !$1
|
is_data = !$1
|
||||||
if noprefix or /^[@_]/ =~ l
|
if noprefix or /^[@_]/ =~ l
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue