From 59864c883cdb140173794d0a2b415169d41f504c Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 14 Dec 2016 17:49:26 +0000 Subject: 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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/mkexports.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/mkexports.rb b/win32/mkexports.rb index d26acbb107..3399db71b4 100755 --- a/win32/mkexports.rb +++ b/win32/mkexports.rb @@ -114,7 +114,7 @@ class Exports::Mswin < Exports 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 -- cgit v1.2.3