PATCH: getaddrinfo return codes
Marcus Meissner
marcus at jet.franken.de
Mon Dec 12 01:57:09 CST 2005
Hi,
Ciao, Marcus
Changelog:
Adjust return code EAI_NODATA to WSAHOST_NOT_FOUND,
like windows does it.
Index: include/ws2tcpip.h
===================================================================
RCS file: /home/wine/wine/include/ws2tcpip.h,v
retrieving revision 1.8
diff -u -r1.8 ws2tcpip.h
--- include/ws2tcpip.h 23 Nov 2005 19:25:16 -0000 1.8
+++ include/ws2tcpip.h 12 Dec 2005 07:52:04 -0000
@@ -182,7 +182,7 @@
# define EAI_FAIL WSANO_RECOVERY
# define EAI_FAMILY WSAEAFNOSUPPORT
# define EAI_MEMORY WSA_NOT_ENOUGH_MEMORY
-# define EAI_NODATA WSANO_DATA
+# define EAI_NODATA WSAHOST_NOT_FOUND
# define EAI_NONAME WSAHOST_NOT_FOUND
# define EAI_SERVICE WSATYPE_NOT_FOUND
# define EAI_SOCKTYPE WSAESOCKTNOSUPPORT
@@ -196,7 +196,7 @@
# define WS_EAI_FAIL WSANO_RECOVERY
# define WS_EAI_FAMILY WSAEAFNOSUPPORT
# define WS_EAI_MEMORY WSA_NOT_ENOUGH_MEMORY
-# define WS_EAI_NODATA WSANO_DATA
+# define WS_EAI_NODATA WSAHOST_NOT_FOUND
# define WS_EAI_NONAME WSAHOST_NOT_FOUND
# define WS_EAI_SERVICE WSATYPE_NOT_FOUND
# define WS_EAI_SOCKTYPE WSAESOCKTNOSUPPORT
More information about the wine-patches
mailing list