diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-04 08:21:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-04 08:21:14 +0000 |
commit | 3047144ac275682e9c8b0645fe2afcbf952d9ee4 () | |
tree | 2b20a46cf18ce19970a7095d39ae2dd54f65347e /ext/win32/lib | |
parent | aa5ff4a43a5b91135ac723126478215f9ab1966a (diff) |
win32/resolv.rb: ad hoc workaround
* ext/win32/lib/win32/resolv.rb (Win32::Resolv::SZ): an ad hoc workaround for broken registry. SearchList and other registry values must be REG_SZ, or Windows ignores anything in those values otherwise. [ruby-dev:49924] [Bug #13081] https://.com/rubygems/rubygems/issues/1700 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/win32/lib/win32/resolv.rb | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -60,6 +60,21 @@ module Win32 # Windows NT #==================================================================== module Resolv TCPIP_NT = 'SYSTEM\CurrentControlSet\Services\Tcpip\Parameters' class << self |