ruby-changes:14520
From: nobu <ko1@a...>
Date: Tue, 19 Jan 2010 20:01:59 +0900 (JST)
Subject: [ruby-changes:14520] Ruby:r26357 (trunk): * lib/resolv.rb (Resolv::DNS::Config#lazy_initialize): fixed the
nobu 2010-01-19 19:58:28 +0900 (Tue, 19 Jan 2010) New Revision: 26357 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26357 Log: * lib/resolv.rb (Resolv::DNS::Config#lazy_initialize): fixed the defaults of nameserver and port. Modified files: trunk/ChangeLog trunk/lib/resolv.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 26356) +++ ChangeLog (revision 26357) @@ -1,3 +1,8 @@ +Tue Jan 19 19:58:26 2010 Nobuyoshi Nakada <nobu@r...> + + * lib/resolv.rb (Resolv::DNS::Config#lazy_initialize): fixed the + defaults of nameserver and port. + Tue Jan 19 14:29:16 2010 Nobuyoshi Nakada <nobu@r...> * Makefile.in (clean-ext): allow glob patterns. Index: lib/resolv.rb =================================================================== --- lib/resolv.rb (revision 26356) +++ lib/resolv.rb (revision 26357) @@ -885,7 +885,7 @@ @ndots = config_hash[:ndots] if config_hash.include? :ndots if @nameserver_port.empty? - @nameserver_port = ['0.0.0.0', Port] + @nameserver_port << ['0.0.0.0', Port] end if @search @search = @search.map {|arg| Label.split(arg) } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/