From 28182bca18bc2774641ca06620274a9b24e633e1 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 19 Apr 2019 18:01:44 +0200 Subject: [PATCH] Cygwin: drop unsupported Windows 10 versions * Pre-release version still reporting kernel version 6.4. * Windows 10 1511 is out of support since 2017-10-10. Signed-off-by: Corinna Vinschen --- winsup/cygwin/wincap.cc | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index 86dc631ec..17e0cf1be 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -148,32 +148,6 @@ wincaps wincap_10_1507 __attribute__((section (".cygwin_dll_common"), shared)) }, }; -wincaps wincap_10_1511 __attribute__((section (".cygwin_dll_common"), shared)) = { - def_guard_pages:2, - { - is_server:false, - needs_count_in_si_lpres2:false, - needs_query_information:false, - has_gaa_largeaddress_bug:false, - has_broken_alloc_console:true, - has_console_logon_sid:true, - has_precise_system_time:true, - has_microsoft_accounts:true, - has_processor_groups:true, - has_broken_prefetchvm:false, - has_new_pebteb_region:true, - has_broken_whoami:false, - has_unprivileged_createsymlink:false, - has_unbiased_interrupt_time:true, - has_precise_interrupt_time:true, - has_posix_unlink_semantics:false, - has_case_sensitive_dirs:false, - has_posix_rename_semantics:false, - no_msv1_0_s4u_logon_in_wow64:false, - has_con_24bit_colors:false, - }, -}; - wincaps wincap_10_1703 __attribute__((section (".cygwin_dll_common"), shared)) = { def_guard_pages:2, { @@ -311,10 +285,8 @@ wincapc::init () caps = &wincap_8; break; case 3: - caps = &wincap_8_1; - break; default: - caps = &wincap_10_1507; + caps = &wincap_8_1; break; } break; @@ -328,8 +300,6 @@ wincapc::init () caps = &wincap_10_1709; else if (version.dwBuildNumber >= 15063) caps = &wincap_10_1703; - else if (version.dwBuildNumber >= 10586) - caps = &wincap_10_1511; else caps = & wincap_10_1507; }