1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/resolv.rb (Config.default_config_hash): when multiple domains

are set, Win32::Resolv.get_resolv_info returns Array.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2004-08-23 03:44:32 +00:00
parent 7b505316a4
commit 30c0611f97
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Aug 23 12:43:32 2004 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/resolv.rb (Config.default_config_hash): when multiple domains
are set, Win32::Resolv.get_resolv_info returns Array.
Sun Aug 22 16:27:38 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
* ext/openssl/ossl_ssl.c (ossl_ssl_read):

View file

@ -751,7 +751,7 @@ class Resolv
search, nameserver = Win32::Resolv.get_resolv_info
config_hash = {}
config_hash[:nameserver] = nameserver if nameserver
config_hash[:search] = [search] if search
config_hash[:search] = [search].flatten if search
end
end
config_hash