From c3c71e39f901e8b8bb6a8fb0e41eefed1fae1aac Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 15 Nov 2022 17:18:18 +0100 Subject: [PATCH] Cygwin: drop wincap::has_broken_whoami Unused for some time. Was only required for Windows 7 anyway. Signed-off-by: Corinna Vinschen --- winsup/cygwin/local_includes/wincap.h | 2 -- winsup/cygwin/wincap.cc | 12 ------------ 2 files changed, 14 deletions(-) diff --git a/winsup/cygwin/local_includes/wincap.h b/winsup/cygwin/local_includes/wincap.h index a99d02c4c..e123b4bd1 100644 --- a/winsup/cygwin/local_includes/wincap.h +++ b/winsup/cygwin/local_includes/wincap.h @@ -18,7 +18,6 @@ struct wincaps struct __attribute__ ((aligned (8))) { unsigned is_server : 1; unsigned has_new_pebteb_region : 1; - unsigned has_broken_whoami : 1; unsigned has_unprivileged_createsymlink : 1; unsigned has_precise_interrupt_time : 1; unsigned has_posix_unlink_semantics : 1; @@ -74,7 +73,6 @@ public: intptr_t IMPLEMENT (mmap_storage_high) bool IMPLEMENT (is_server) bool IMPLEMENT (has_new_pebteb_region) - bool IMPLEMENT (has_broken_whoami) bool IMPLEMENT (has_unprivileged_createsymlink) bool IMPLEMENT (has_precise_interrupt_time) bool IMPLEMENT (has_posix_unlink_semantics) diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index ce64289f8..52bdda48d 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -25,7 +25,6 @@ wincaps wincap_7 __attribute__((section (".cygwin_dll_common"), shared)) = { { is_server:false, has_new_pebteb_region:false, - has_broken_whoami:true, has_unprivileged_createsymlink:false, has_precise_interrupt_time:false, has_posix_unlink_semantics:false, @@ -53,7 +52,6 @@ wincaps wincap_8 __attribute__((section (".cygwin_dll_common"), shared)) = { { is_server:false, has_new_pebteb_region:false, - has_broken_whoami:false, has_unprivileged_createsymlink:false, has_precise_interrupt_time:false, has_posix_unlink_semantics:false, @@ -81,7 +79,6 @@ wincaps wincap_8_1 __attribute__((section (".cygwin_dll_common"), shared)) = { { is_server:false, has_new_pebteb_region:false, - has_broken_whoami:false, has_unprivileged_createsymlink:false, has_precise_interrupt_time:false, has_posix_unlink_semantics:false, @@ -109,7 +106,6 @@ wincaps wincap_10_1507 __attribute__((section (".cygwin_dll_common"), shared)) { is_server:false, has_new_pebteb_region:false, - has_broken_whoami:false, has_unprivileged_createsymlink:false, has_precise_interrupt_time:true, has_posix_unlink_semantics:false, @@ -137,7 +133,6 @@ wincaps wincap_10_1607 __attribute__((section (".cygwin_dll_common"), shared)) { is_server:false, has_new_pebteb_region:false, - has_broken_whoami:false, has_unprivileged_createsymlink:false, has_precise_interrupt_time:true, has_posix_unlink_semantics:false, @@ -165,7 +160,6 @@ wincaps wincap_10_1703 __attribute__((section (".cygwin_dll_common"), shared)) = { is_server:false, has_new_pebteb_region:true, - has_broken_whoami:false, has_unprivileged_createsymlink:true, has_precise_interrupt_time:true, has_posix_unlink_semantics:false, @@ -193,7 +187,6 @@ wincaps wincap_10_1709 __attribute__((section (".cygwin_dll_common"), shared)) = { is_server:false, has_new_pebteb_region:true, - has_broken_whoami:false, has_unprivileged_createsymlink:true, has_precise_interrupt_time:true, has_posix_unlink_semantics:true, @@ -221,7 +214,6 @@ wincaps wincap_10_1803 __attribute__((section (".cygwin_dll_common"), shared)) = { is_server:false, has_new_pebteb_region:true, - has_broken_whoami:false, has_unprivileged_createsymlink:true, has_precise_interrupt_time:true, has_posix_unlink_semantics:true, @@ -249,7 +241,6 @@ wincaps wincap_10_1809 __attribute__((section (".cygwin_dll_common"), shared)) = { is_server:false, has_new_pebteb_region:true, - has_broken_whoami:false, has_unprivileged_createsymlink:true, has_precise_interrupt_time:true, has_posix_unlink_semantics:true, @@ -277,7 +268,6 @@ wincaps wincap_10_1903 __attribute__((section (".cygwin_dll_common"), shared)) = { is_server:false, has_new_pebteb_region:true, - has_broken_whoami:false, has_unprivileged_createsymlink:true, has_precise_interrupt_time:true, has_posix_unlink_semantics:true, @@ -305,7 +295,6 @@ wincaps wincap_10_2004 __attribute__((section (".cygwin_dll_common"), shared)) = { is_server:false, has_new_pebteb_region:true, - has_broken_whoami:false, has_unprivileged_createsymlink:true, has_precise_interrupt_time:true, has_posix_unlink_semantics:true, @@ -333,7 +322,6 @@ wincaps wincap_11 __attribute__((section (".cygwin_dll_common"), shared)) = { { is_server:false, has_new_pebteb_region:true, - has_broken_whoami:false, has_unprivileged_createsymlink:true, has_precise_interrupt_time:true, has_posix_unlink_semantics:true,