summaryrefslogtreecommitdiff
path: root/ext/dl
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-10 11:17:00 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-10 11:17:00 +0000
commitf89a50b62c576b38796f9f41dac9b840945e230b (patch)
tree0736e4fb2fbd61da99baf8c377ddffeecdd706b3 /ext/dl
parentf635d1b041015478f3bc790ebec469a68cde5a5a (diff)
* ext/dl/win32/lib/win32/resolv.rb (get_info): get rid of a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r--ext/dl/win32/lib/win32/resolv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/win32/lib/win32/resolv.rb b/ext/dl/win32/lib/win32/resolv.rb
index a164fd5..8a65472 100644
--- a/ext/dl/win32/lib/win32/resolv.rb
+++ b/ext/dl/win32/lib/win32/resolv.rb
@@ -73,7 +73,7 @@ if info.unpack('V5')[4] == 2 # VER_PLATFORM_WIN32_NT
unless nvdom.empty?
@search = [ nvdom ]
if reg.read_i('UseDomainNameDevolution') != 0
- if /^[\w\d]+\./ =~ nvdom
+ if /^\w+\./ =~ nvdom
devo = $'
end
end