mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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/branches/ruby_1_8@7786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2523523ee0
commit
eecf2867e1
2 changed files with 8 additions and 0 deletions
|
@ -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]
|
||||
|
||||
Tue Jan 18 15:03:05 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||
|
||||
* lib/webrick/ssl.rb (WEBrick::Config::SSL): the default value
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue