diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2021-10-29 19:18:24 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2021-10-29 19:19:45 +0300 |
commit | a4efb2a6698fa7e3b431f595081fdd381722f394 (patch) | |
tree | 3008ba1ca0aba97c848c1f8761cadda471579ae7 /winsup/cygwin/net.cc | |
parent | 080eae709f41e9e5d194bcc59014cf1c03526ec4 (diff) |
Cygwin: remove support for Vista entirely
Fix up a few comments while at it
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r-- | winsup/cygwin/net.cc | 12 |
1 files changed, 6 insertions, 6 deletions
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) |