[前][次][番号順一覧][スレッド一覧]

ruby-changes:45006

From: usa <ko1@a...>
Date: Thu, 15 Dec 2016 02:49:31 +0900 (JST)
Subject: [ruby-changes:45006] usa:r57079 (trunk): Fixed link error with VC14.

usa	2016-12-15 02:49:26 +0900 (Thu, 15 Dec 2016)

  New Revision: 57079

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57079

  Log:
    Fixed link error with VC14.
    
    * win32/mkexports.rb (Exports::Mswin#each_exports): should ignore `vsprintf_s_l`
      and the like just like `vsprintf_l`.
      [ruby-dev:49899] [Bug #13033]

  Modified files:
    trunk/win32/mkexports.rb
Index: win32/mkexports.rb
===================================================================
--- win32/mkexports.rb	(revision 57078)
+++ win32/mkexports.rb	(revision 57079)
@@ -114,7 +114,7 @@ class Exports::Mswin < Exports https://github.com/ruby/ruby/blob/trunk/win32/mkexports.rb#L114
         when /OBJECT/, /LIBRARY/
           next if /^[[:xdigit:]]+ 0+ UNDEF / =~ l
           next unless /External/ =~ l
-          next if /(?:_local_stdio_printf_options|v(f|sn?)printf_l)\Z/ =~ l
+          next if /(?:_local_stdio_printf_options|v(f|sn?)printf(_s)?_l)\Z/ =~ l
           next unless l.sub!(/.*?\s(\(\)\s+)?External\s+\|\s+/, '')
           is_data = !$1
           if noprefix or /^[@_]/ =~ l

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]