Skip to content

Commit ae8b82c

Browse files
hsbtclaude
andcommitted
Remove bccwin from the Resolv::Hosts platform check
Ruby 2.3 dropped Borland C. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent ece6d6c commit ae8b82c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/resolv.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class ResolvTimeout < Timeout::Error; end
179179
# Resolv::Hosts is a hostname resolver that uses the system hosts file.
180180

181181
class Hosts
182-
if /mswin|cygwin|mingw|bccwin/ =~ RUBY_PLATFORM || ::RbConfig::CONFIG['host_os'] =~ /mswin/
182+
if /mswin|cygwin|mingw/ =~ RUBY_PLATFORM || ::RbConfig::CONFIG['host_os'] =~ /mswin/
183183
begin
184184
require 'win32/resolv' unless defined?(Win32::Resolv)
185185
hosts = Win32::Resolv.get_hosts_path || IO::NULL

0 commit comments

Comments
 (0)