From a4efb2a6698fa7e3b431f595081fdd381722f394 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 29 Oct 2021 18:18:24 +0200 Subject: Cygwin: remove support for Vista entirely Fix up a few comments while at it Signed-off-by: Corinna Vinschen --- winsup/cygwin/net.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'winsup/cygwin/net.cc') diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 9ff155c22..2209f4bde 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -1488,12 +1488,12 @@ get_adapters_addresses (PIP_ADAPTER_ADDRESSES *pa_ret, ULONG family) if (wincap.has_gaa_largeaddress_bug () && (uintptr_t) ¶m >= (uintptr_t) 0x80000000L) { - /* In Windows Vista and Windows 7 under WOW64, GetAdaptersAddresses fails - if it's running in a thread with a stack located in the large address - area. So, if we're running in a pthread with such a stack, we call - GetAdaptersAddresses in a child thread with an OS-allocated stack. - The OS allocates stacks bottom up, so chances are good that the new - stack will be located in the lower address area. */ + /* In Windows 7 under WOW64, GetAdaptersAddresses fails if it's running + in a thread with a stack located in the large address area. If we're + running in a pthread with such a stack, we call GetAdaptersAddresses + in a child thread with an OS-allocated stack. The OS allocates stacks + bottom up, so chances are good that the new stack will be located in + the lower address area. */ HANDLE thr = CreateThread (NULL, 0, call_gaa, ¶m, 0, NULL); SetThreadName (GetThreadId (thr), "__call_gaa"); if (!thr) -- cgit v1.2.3