ruby-changes:24977
From: naruse <ko1@a...>
Date: Tue, 25 Sep 2012 09:31:17 +0900 (JST)
Subject: [ruby-changes:24977] naruse:r37029 (ruby_1_9_3): merge revision(s) 36544: [Backport #7017]
naruse 2012-09-25 09:30:46 +0900 (Tue, 25 Sep 2012) New Revision: 37029 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37029 Log: merge revision(s) 36544: [Backport #7017] * win32/mkexports.rb: should not export DllMain(). reported by luis at [ruby-core:46743] [Bug #6790], solved by Heesob Park, and confirmed by nobu. Modified files: branches/ruby_1_9_3/ChangeLog branches/ruby_1_9_3/version.h branches/ruby_1_9_3/win32/mkexports.rb Index: ruby_1_9_3/ChangeLog =================================================================== --- ruby_1_9_3/ChangeLog (revision 37028) +++ ruby_1_9_3/ChangeLog (revision 37029) @@ -1,3 +1,9 @@ +Tue Sep 25 09:30:36 2012 NAKAMURA Usaku <usa@r...> + + * win32/mkexports.rb: should not export DllMain(). + reported by luis at [ruby-core:46743] [Bug #6790], solved by + Heesob Park, and confirmed by nobu. + Mon Sep 24 16:34:07 2012 Hiroshi Shirosaki <h.shirosaki@g...> * include/ruby/win32.h (rb_w32_pow): add new function. Index: ruby_1_9_3/win32/mkexports.rb =================================================================== --- ruby_1_9_3/win32/mkexports.rb (revision 37028) +++ ruby_1_9_3/win32/mkexports.rb (revision 37029) @@ -112,7 +112,7 @@ is_data = !$1 if noprefix or /^[@_]/ =~ l next if /(?!^)@.*@/ =~ l || /@[[:xdigit:]]{8,16}$/ =~ l || - /^_(?:Init_|.*_threadptr_|DllMain@)/ =~ l + /^_?(?:Init_|.*_threadptr_|DllMain\b)/ =~ l l.sub!(/^[@_]/, '') if /@\d+$/ !~ l elsif !l.sub!(/^(\S+) \([^@?\`\']*\)$/, '\1') next @@ -146,7 +146,7 @@ def each_export(objs) symprefix = RbConfig::CONFIG["SYMBOL_PREFIX"] symprefix.strip! if symprefix - re = /\s(?:(T)|[[:upper:]])\s#{symprefix}((?!Init_|.*_threadptr_|DllMain@).*)$/ + re = /\s(?:(T)|[[:upper:]])\s#{symprefix}((?!Init_|.*_threadptr_|DllMain\b).*)$/ objdump(objs) do |l| next if /@.*@/ =~ l yield $2, !$1 if re =~ l Index: ruby_1_9_3/version.h =================================================================== --- ruby_1_9_3/version.h (revision 37028) +++ ruby_1_9_3/version.h (revision 37029) @@ -1,10 +1,10 @@ #define RUBY_VERSION "1.9.3" -#define RUBY_PATCHLEVEL 276 +#define RUBY_PATCHLEVEL 277 -#define RUBY_RELEASE_DATE "2012-09-24" +#define RUBY_RELEASE_DATE "2012-09-25" #define RUBY_RELEASE_YEAR 2012 #define RUBY_RELEASE_MONTH 9 -#define RUBY_RELEASE_DAY 24 +#define RUBY_RELEASE_DAY 25 #include "ruby/version.h" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/