* lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated

string.
  Patch by Ryan Brunner.  [ruby-core:58220] [Bug #9093]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2014-01-18 14:01:43 +00:00
Родитель e457f6312f
Коммит e86a90420d
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -1,3 +1,9 @@
Sat Jan 18 22:57:44 2014 Tanaka Akira <akr@fsij.org>
* lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated
string.
Patch by Ryan Brunner. [ruby-core:58220] [Bug #9093]
Sat Jan 18 22:35:15 2014 Tanaka Akira <akr@fsij.org>
* io.c (rb_update_max_fd): Return immediately if the given fd is small

Просмотреть файл

@ -1963,10 +1963,10 @@ class Resolv
attr_reader :strings
##
# Returns the first string from +strings+.
# Returns the concatenated string from +strings+.
def data
@strings[0]
@strings.join("")
end
def encode_rdata(msg) # :nodoc: