зеркало из https://github.com/github/ruby.git
* lib/resolv.rb: fix arguments to create exceptions.
Patch from matt@lickey.com. (ruby-bugs:PR#278) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e9d9cda13b
Коммит
0c41c1fc22
|
@ -1,3 +1,8 @@
|
|||
Fri Mar 22 14:14:21 2002 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* lib/resolv.rb: fix arguments to create exceptions.
|
||||
Patch from matt@lickey.com. (ruby-bugs:PR#278)
|
||||
|
||||
Fri Mar 22 13:51:11 2002 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* ext/bigfloat/.cvsignore, ext/bigfloat/MANIFEST: BigFloat 1.1.8
|
||||
|
|
|
@ -438,9 +438,9 @@ class Resolv
|
|||
extract_resources(reply, reply_name, typeclass, &proc)
|
||||
return
|
||||
when RCode::NXDomain
|
||||
raise Config::NXDomain.new(reply_name)
|
||||
raise Config::NXDomain.new(reply_name.to_s)
|
||||
else
|
||||
raise Config::OtherResolvError.new(reply_name)
|
||||
raise Config::OtherResolvError.new(reply_name.to_s)
|
||||
end
|
||||
}
|
||||
ensure
|
||||
|
|
Загрузка…
Ссылка в новой задаче