diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-14 17:49:26 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-14 17:49:26 +0000 |
commit | ca25a970d694c0c3806f65ee4818517e68296097 (patch) | |
tree | 137fe813b5611ae76f657f84a5711b72dbbf5eea /win32/mkexports.rb | |
parent | 201972ac4cf81d12a7018308b9e88400c5e61a9d (diff) | |
download | ruby-ca25a970d694c0c3806f65ee4818517e68296097.tar.gz |
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
Diffstat (limited to 'win32/mkexports.rb')
-rwxr-xr-x | win32/mkexports.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |