We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0024387 commit 7be4c0aCopy full SHA for 7be4c0a
win32/mkexports.rb
@@ -106,11 +106,7 @@ def each_export(objs)
106
objs = objs.collect {|s| s.tr('/', '\\')}
107
filetype = nil
108
objdump(objs) do |l|
109
- if filetype
110
- if /^\f/ =~ l
111
- filetype = nil
112
- next
113
- end
+ if (filetype = l[/^File Type: (.+)/, 1])..(/^\f/ =~ l)
114
case filetype
115
when /OBJECT/, /LIBRARY/
116
l.chomp!
@@ -132,8 +128,6 @@ def each_export(objs)
132
128
next
133
129
end
134
130
yield l.strip, is_data
135
- else
136
- filetype = l[/^File Type: (.+)/, 1]
137
131
138
139
yield "strcasecmp", "msvcrt.stricmp"
0 commit comments