From 8afde7649359761c1840e31f9e42006db9c42b18 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 25 Sep 2026 06:32:25 +0900 Subject: [PATCH] Remove bccwin from the Resolv::Hosts platform check Ruby 2.3 dropped Borland C. Co-Authored-By: Claude Opus 5.5 --- lib/resolv.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/resolv.rb b/lib/resolv.rb index e1b7593..72df381 100644 --- a/lib/resolv.rb +++ b/lib/resolv.rb @@ -179,7 +179,7 @@ class ResolvTimeout < Timeout::Error; end # Resolv::Hosts is a hostname resolver that uses the system hosts file. class Hosts - if /mswin|cygwin|mingw|bccwin/ =~ RUBY_PLATFORM || ::RbConfig::CONFIG['host_os'] =~ /mswin/ + if /mswin|cygwin|mingw/ =~ RUBY_PLATFORM || ::RbConfig::CONFIG['host_os'] =~ /mswin/ begin require 'win32/resolv' unless defined?(Win32::Resolv) hosts = Win32::Resolv.get_hosts_path || IO::NULL