search for: gethostnameinfo

Displaying 3 results from an estimated 3 matches for "gethostnameinfo".

2008 Oct 24
0
Name lookup failures and CIDR regression under cygwin ( patch attached )
...rerror(name_err)); return name_err; } Then in the supplied getnameinfo:- /* We don't support those. */ if ((node && !(flags & NI_NUMERICHOST)) || (service && !(flags & NI_NUMERICSERV))) return EAI_FAIL; if (node) { return gethostnameinfo(sa, node, nodelen, flags); } if (service) { return getservicenameinfo(sa, service, servicelen, flags); } return 0; There seems to be three issues here:- 1. Both name ( node ) and port ( service ) are passed in but NI_NUMERICHOST is not supplied so the call will always retu...
2008 Oct 24
5
DO NOT REPLY [Bug 5851] New: Name lookup failures and CIDR regression
...rerror(name_err)); return name_err; } Then in the supplied getnameinfo:- /* We don't support those. */ if ((node && !(flags & NI_NUMERICHOST)) || (service && !(flags & NI_NUMERICSERV))) return EAI_FAIL; if (node) { return gethostnameinfo(sa, node, nodelen, flags); } if (service) { return getservicenameinfo(sa, service, servicelen, flags); } return 0; There seems to be three issues here:- 1. Both name ( node ) and port ( service ) are passed in but NI_NUMERICHOST is not supplied so the call will always retu...
2007 Nov 08
2
DO NOT REPLY [Bug 5064] New: compile error - SCO 5.0.6a
...' undeclared (first use in this function) lib/getaddrinfo.c:168: `addr' undeclared (first use in this function) lib/getaddrinfo.c:170: `hints' undeclared (first use in this function) lib/getaddrinfo.c:192: `res' undeclared (first use in this function) lib/getaddrinfo.c: In function `gethostnameinfo': lib/getaddrinfo.c:404: warning: passing arg 1 of `gethostbyaddr' from incompatible pointer type lib/getaddrinfo.c: In function `pg_getnameinfo': lib/getaddrinfo.c:484: warning: comparison between signed and unsigned make: *** [lib/getaddrinfo.o] Error 1 -- Configure bugmail: https:...