summaryrefslogtreecommitdiffstats
path: root/bcc32/mkexports.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-13 00:02:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-13 00:02:20 +0000
commit6650ac65b6bdfe164ab85256a87e9861a44de0ca (patch)
tree8e1498f09232361754d10c29fcc41a8eceb9f461 /bcc32/mkexports.rb
parent8890af8e5867a6505d5e143cffbeb50c3efe0663 (diff)
downloadruby-6650ac65b6bdfe164ab85256a87e9861a44de0ca.tar.gz
ruby-6650ac65b6bdfe164ab85256a87e9861a44de0ca.tar.xz
ruby-6650ac65b6bdfe164ab85256a87e9861a44de0ca.zip
* {bcc,win}32/mkexports.rb: explicit data. [ruby-list:44108]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bcc32/mkexports.rb')
-rwxr-xr-xbcc32/mkexports.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bcc32/mkexports.rb b/bcc32/mkexports.rb
index 1b498f851..965a09b82 100755
--- a/bcc32/mkexports.rb
+++ b/bcc32/mkexports.rb
@@ -15,7 +15,7 @@ class Exports::Bcc < Exports
opt = /\.(?:so|dll)\z/i =~ obj ? "-ee" : "-oiPUBDEF -oiPUBD32"
IO.foreach("|tdump -q #{opt} #{obj.tr('/', '\\')} < nul") do |l|
next unless /(?:PUBDEF|PUBD32|EXPORT)/ =~ l
- yield $1 if /'(.*?)'/ =~ l
+ yield $1, !$2 /'(.*?)'\s+Segment:\s+_(TEXT)?/ =~ l
end
end
yield "_strcasecmp", "_stricmp"