mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) 37625: [Backport #7333]
* win32/mkexports.rb (each_export): skip garbages generated by VS2012's nmake. reported and patched by Yoshida Masato at [Bug #7333] [ruby-dev:46484] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4db3a06d6f
commit
4701a70b31
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Dec 11 19:18:12 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/mkexports.rb (each_export): skip garbages generated by VS2012's
|
||||
nmake.
|
||||
reported and patched by Yoshida Masato at [Bug #7333] [ruby-dev:46484]
|
||||
|
||||
Tue Dec 11 19:15:51 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (parser_here_document): flush string content between new
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#define RUBY_VERSION "1.9.3"
|
||||
#define RUBY_PATCHLEVEL 338
|
||||
#define RUBY_PATCHLEVEL 339
|
||||
|
||||
#define RUBY_RELEASE_DATE "2012-12-11"
|
||||
#define RUBY_RELEASE_YEAR 2012
|
||||
|
|
|
@ -111,7 +111,7 @@ class Exports::Mswin < Exports
|
|||
next unless l.sub!(/.*?\s(\(\)\s+)?External\s+\|\s+/, '')
|
||||
is_data = !$1
|
||||
if noprefix or /^[@_]/ =~ l
|
||||
next if /(?!^)@.*@/ =~ l || /@[[:xdigit:]]{8,16}$/ =~ l ||
|
||||
next if /(?!^)@.*@/ =~ l || /@[[:xdigit:]]{8,32}$/ =~ l ||
|
||||
/^_?(?:Init_|.*_threadptr_|DllMain\b)/ =~ l
|
||||
l.sub!(/^[@_]/, '') if /@\d+$/ !~ l
|
||||
elsif !l.sub!(/^(\S+) \([^@?\`\']*\)$/, '\1')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue