зеркало из https://github.com/github/ruby.git
* lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf): ignore
domain and search directive without an argument. reported by Sam Roberts. [ruby-talk:126781] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
0cf40469d8
Коммит
01c6a1f8ff
|
@ -1,3 +1,9 @@
|
|||
Wed Jan 19 01:16:30 2005 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf): ignore
|
||||
domain and search directive without an argument.
|
||||
reported by Sam Roberts. [ruby-talk:126781]
|
||||
|
||||
Mon Jan 17 23:33:46 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (aix): fix typo. [ruby-talk:126401]
|
||||
|
|
|
@ -734,8 +734,10 @@ class Resolv
|
|||
when 'nameserver'
|
||||
nameserver += args
|
||||
when 'domain'
|
||||
next if args.empty?
|
||||
search = [args[0]]
|
||||
when 'search'
|
||||
next if args.empty?
|
||||
search = args
|
||||
end
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче