public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] Cygwin: drop wincap::has_broken_whoami
Date: Sun,  4 Dec 2022 13:27:32 +0000 (GMT)	[thread overview]
Message-ID: <20221204132732.68EE0386102D@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c3c71e39f901e8b8bb6a8fb0e41eefed1fae1aac

commit c3c71e39f901e8b8bb6a8fb0e41eefed1fae1aac
Author:     Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Tue Nov 15 17:18:18 2022 +0100
Commit:     Corinna Vinschen <corinna@vinschen.de>
CommitDate: Sun Dec 4 14:01:41 2022 +0100

    Cygwin: drop wincap::has_broken_whoami
    
    Unused for some time. Was only required for Windows 7 anyway.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 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 a99d02c4ca65..e123b4bd1845 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 ce64289f87e3..52bdda48d876 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,

                 reply	other threads:[~2022-12-04 13:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221204132732.68EE0386102D@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).