This is the mail archive of the
glibc-cvs@sourceware.cygnus.com
mailing list for the glibc project.
libc/inet getnameinfo.c
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/inet getnameinfo.c
- From: drepper at sourceware dot cygnus dot com
- Date: 26 Mar 2000 18:32:26 -0000
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.cygnus.com 00/03/26 10:32:26
Modified files:
inet : getnameinfo.c
Log message:
(getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
Don't use __libc_sa_len, which only exists for Linux. Just handle
AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
only flavors supported by this function anyway.