CVS report: krb5/src/include ChangeLog configure.in fake-a ...
raeburn@MIT.EDU
raeburn at MIT.EDU
Fri Apr 12 03:56:37 EDT 2002
CVSROOT: /cvs/krbdev
Module name: krb5
Changes by: raeburn at drugstore.mit.edu 2002-04-12 03:56:37
Modified files:
src/include : ChangeLog configure.in fake-addrinfo.h
Log message:
* configure.in: Check for gethostbyname_r, gethostbyaddr_r, getservbyname_r and
getservbyport_r. Figure out the return type of gethostbyname_r.
* fake-addrinfo.h (GET_HOST_BY_NAME, GET_HOST_BY_ADDR): New macros.
(fai_add_hosts_by_name, fake_getnameinfo, getaddrinfo): Use them.
(fake_getaddrinfo): Use getservbyname_r if available.
(fake_getnameinfo): Never call inet_ntoa; in open-coded form, initialize local
pointer variable after label. Use getservbyport_r if available.
(gaiptr, faiptr, gniptr): Pointer variables are now const.
More information about the cvs-krb5
mailing list