Project

General

Profile

Actions

Feature #20563

closed

Drop support for old Windows

Added by nobu (Nobuyoshi Nakada) 6 months ago. Updated 4 months ago.

Status:
Closed
Target version:
-
[ruby-core:118237]

Description

This is the table of APIs that we are calling dynamically, and the available Windows versions.

DLL API Client Server
iphlpapi ConvertInterfaceGuidToLuid Vista 2008
iphlpapi ConvertInterfaceLuidToNameA Vista 2008
kernel32 CreateSymbolicLinkW Vista 2008
kernel32 GetFileInformationByHandleEx Vista 2008
kernel32 GetFinalPathNameByHandleW Vista 2008
kernel32 SetFileInformationByHandle Vista 2008
shell32 SHGetPathFromIDListEx Vista 2008
ws2_32 inet_ntop Vista 2008
ws2_32 inet_pton Vista 2008
kernel32 GetSystemTimePreciseAsFileTime 8 2012
kernel32 SetThreadDescription 10 2016

However, already random.c directly uses BCryptGenRandom that is available since Windows Vista/Server 2008.

So I propose explicitly dropping support for Windows older than Vista/2008 8/Server 2012.
https://github.com/ruby/ruby/pull/11279

Update: added iphlpapi APIs.

Actions

Also available in: Atom PDF

Like2
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0