This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Fix comments for AI_ADDRCONFIG and AI_V4MAPPED


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

commit cd93c771efbacbf7ce9ff15d2a19f84731cfa4ef
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Tue Dec 15 21:50:35 2015 +0100

    Fix comments for AI_ADDRCONFIG and AI_V4MAPPED

Diff:
---
 winsup/cygwin/include/netdb.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/winsup/cygwin/include/netdb.h b/winsup/cygwin/include/netdb.h
index 596fb33..968847b 100644
--- a/winsup/cygwin/include/netdb.h
+++ b/winsup/cygwin/include/netdb.h
@@ -158,9 +158,9 @@ extern __declspec(dllimport) int h_errno;
 #define AI_NUMERICHOST  0x4	/* Input is address, don't resolve. */
 #define AI_NUMERICSERV  0x8	/* Input is port number, don't resolve. */
 #define AI_ALL          0x100	/* Return v4-mapped and v6 addresses. */
-#define AI_ADDRCONFIG   0x400	/* Only available on Vista.  Unchangable default
-				   on older systems. */
-#define AI_V4MAPPED     0x800
+#define AI_ADDRCONFIG   0x400	/* Only return address types available on
+				   this host. */
+#define AI_V4MAPPED     0x800	/* IPv4 mapped addresses are acceptable. */
 /* Glibc extensions. We use numerical values taken by winsock-specific
    extensions. */
 #define AI_IDN          0x4000	/* Encode IDN input from current local to


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]