1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

avoid ruby-mode.el bug

* ext/win32/lib/win32/{resolv,resolv9x}.rb: get rid of
  ruby-mode.el of Emacs 24.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-02-15 03:29:00 +00:00
parent a1feed6551
commit 0f5a841881
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ if info.unpack('V5')[4] == 2 # VER_PLATFORM_WIN32_NT
end
reg.open('Interfaces') do |h|
h.each_key do |iface,|
h.each_key do |iface, |
h.open(iface) do |regif|
begin
[ 'NameServer', 'DhcpNameServer' ].each do |key|

View file

@ -57,7 +57,7 @@ module Win32
rescue Registry::Error
end
reg.each_key do |key,|
reg.each_key do |key, |
catch(:not_used) do
reg.open(key) do |regdi|
dom, ns = get_dhcpinfo_key(version, regdi, iflist)