This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/sysdeps/posix getaddrinfo.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 15 Aug 2004 20:19:25 -0000
- Subject: libc/sysdeps/posix getaddrinfo.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sources.redhat.com 2004-08-15 20:19:25
Modified files:
sysdeps/posix : getaddrinfo.c
Log message:
(gaih_addrtuple): Change type of addr to avoid casts.
(gethosts): Removed.
(gethosts2): Renamed to gethosts. Make it usable for family !=
AF_UNSPEC. Fix AI_V4MAPPED.
(gaih_inet): Remove use of old gethosts. Always use what used to be
gethosts2. If entry is found, try to use the same NSS module's
getcanonname_r function. Use gethostbyaddr for AI_CANONNAME only
if getcanonname_r was not available. Fix filtering of AI_V4MAPPED
addresses. Numerous cleanups.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/posix/getaddrinfo.c.diff?cvsroot=glibc&r1=1.65&r2=1.66