<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,8 @@
+Sun Jun  8 01:31:17 2008  Nobuyoshi Nakada  &lt;nobu@ruby-lang.org&gt;
+
+	* win32/mkexports.rb: deal with __fastcall name decorations.
+	  [ruby-list:44111]
+
 Sun Jun  8 01:27:06 2008  Nobuyoshi Nakada  &lt;nobu@ruby-lang.org&gt;
 
 	* {bcc,win}32/mkexports.rb: explicit data.  [ruby-list:44108]</diff>
      <filename>ChangeLog</filename>
    </modified>
    <modified>
      <diff>@@ -7,7 +7,7 @@ STDIN.reopen(open(&quot;nul&quot;))
 ARGV.each do |obj|
   IO.foreach(&quot;|tdump -q -oiPUBDEF -oiPUBD32 #{obj.tr('/', '\\')}&quot;) do |l|
     next unless /(?:PUBDEF|PUBD32)/ =~ l
-    SYM[$1] = !$2 if /'(.*?)'\s+Segment:\s+_(TEXT)?/ =~ l
+    SYM[$1] = true if /'(.*?)'/ =~ l
   end
 end
 
@@ -18,10 +18,7 @@ elsif $library
   exports &lt;&lt; &quot;Library &quot; + $library
 end
 exports &lt;&lt; &quot;Description &quot; + $description.dump if $description
-exports &lt;&lt; &quot;EXPORTS&quot;
-SYM.sort.each do |sym, is_data|
-  exports &lt;&lt; (is_data ? &quot;#{sym} DATA&quot; : sym)
-end
+exports &lt;&lt; &quot;EXPORTS&quot; &lt;&lt; SYM.keys.sort
 
 if $output
   open($output, 'w') {|f| f.puts exports.join(&quot;\n&quot;)}</diff>
      <filename>bcc32/mkexports.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@
 #define RUBY_RELEASE_DATE &quot;2008-06-08&quot;
 #define RUBY_VERSION_CODE 186
 #define RUBY_RELEASE_CODE 20080608
-#define RUBY_PATCHLEVEL 131
+#define RUBY_PATCHLEVEL 132
 
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 8</diff>
      <filename>version.h</filename>
    </modified>
    <modified>
      <diff>@@ -9,8 +9,9 @@ IO.foreach(&quot;|dumpbin -symbols &quot; + objs.join(' ')) do |l|
   next if /^[0-9A-F]+ 0+ UNDEF / =~ l
   next unless l.sub!(/.*?\s(\(\)\s+)?External\s+\|\s+/, &quot;&quot;)
   is_data = !$1
-  if l.sub!(/^_/, '')
-    next if /@.*@/ =~ l || /@[0-9a-f]{16}$/ =~ l
+  if /^[@_](?!\w+@\d+$)/ =~ l
+    next if /(?!^)@.*@/ =~ l || /@[0-9a-f]{16}$/ =~ l
+    l.sub!(/^[@_]/, '')
   elsif !l.sub!(/^(\S+) \([^@?\`\']*\)$/, '\1')
     next
   end</diff>
      <filename>win32/mkexports.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a7b9dc5674c51e692f0b507ae3d010010fe84ae2</id>
    </parent>
  </parents>
  <author>
    <name>shyouhei</name>
    <email>shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </author>
  <url>http://github.com/FooBarWidget/rubyenterpriseedition/commit/fe1344fefc1d383942513096f36a9566b2f1f3af</url>
  <id>fe1344fefc1d383942513096f36a9566b2f1f3af</id>
  <committed-date>2008-06-07T09:32:17-07:00</committed-date>
  <authored-date>2008-06-07T09:32:17-07:00</authored-date>
  <message>merge revision(s) 13694:
	* win32/mkexports.rb: deal with __fastcall name decorations.
	  [ruby-list:44111]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@16893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e</message>
  <tree>bea0f51e4ae140b439a15f496e605a0983bccc09</tree>
  <committer>
    <name>shyouhei</name>
    <email>shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </committer>
</commit>
