summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/dl/win32/lib/win32/resolv.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d792c43092..6fc32931932 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug 10 20:16:19 2010 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * ext/dl/win32/lib/win32/resolv.rb (get_info): get rid of a warning.
+
Tue Aug 10 19:56:13 2010 Tadayoshi Funaba <tadf@dotrb.org>
* lib/date/format.rb: [ruby-core:31658]
diff --git a/ext/dl/win32/lib/win32/resolv.rb b/ext/dl/win32/lib/win32/resolv.rb
index a164fd54d23..8a654728775 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