Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-12-15 23:43:33 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-06-25 00:32:39 +0300
commit00e9bf2bb3f2220bcf84d4f449907bd1deb2827f (patch)
tree3c2af9ed8215c30a5baef817bc4ae6f748036acf /winsup/cygwin/net.cc
parentbb0fc7a2c0189ecdc38c8ba86c9ba4e8d8255765 (diff)
Fix various OS-related comments
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r--winsup/cygwin/net.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index 3641f96d7..bd3e0e342 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -608,7 +608,7 @@ fdsock (cygheap_fdmanip& fd, const device *dev, SOCKET soc)
handle inheritance. An explanation for this weird behaviour would
be nice, though.
- NOTE 2. Testing on x86_64 (XP, Vista, 2008 R2, W8) indicates that
+ NOTE 2. Testing on x86_64 (Vista, 2008 R2, W8) indicates that
this is no problem on 64 bit. So we set the default buffer size to
the default values in current 3.x Linux versions.
@@ -1821,8 +1821,8 @@ get_adapters_addresses (PIP_ADAPTER_ADDRESSES *pa_ret, ULONG family)
DWORD ret;
gaa_wa param = { family, pa_ret };
- if ((uintptr_t) &param >= (uintptr_t) 0x80000000L
- && wincap.has_gaa_largeaddress_bug ())
+ if (wincap.has_gaa_largeaddress_bug ()
+ && (uintptr_t) &param >= (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
@@ -3371,8 +3371,8 @@ cygwin_getaddrinfo (const char *hostname, const char *servname,
| AI_NUMERICSERV | AI_ADDRCONFIG | AI_V4MAPPED
| AI_IDN_MASK)))
return EAI_BADFLAGS;
- /* AI_NUMERICSERV is not supported prior to Windows Vista. We just check
- the servname parameter by ourselves here. */
+ /* AI_NUMERICSERV is not supported "by Microsoft providers". We just
+ check the servname parameter by ourselves here. */
if (hints && (hints->ai_flags & AI_NUMERICSERV))
{
char *p;