change. It should be in the 1.4 release. (Next 1.3.x release? I don't know.)
* fake-addrinfo.h (WRAP_GETADDRINFO, COPY_FIRST_CANONNAME): Don't define on
Linux unless HAVE_GETADDRINFO is defined, for libc5 compatibility.
ticket: 1711
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15802
dc483132-0cff-0310-8789-
dd5450dbe970
+2003-08-29 Ken Raeburn <raeburn@mit.edu>
+
+ * fake-addrinfo.h (WRAP_GETADDRINFO, COPY_FIRST_CANONNAME): Don't
+ define on Linux unless HAVE_GETADDRINFO is defined, for libc5
+ compatibility.
+
2003-08-26 Ken Raeburn <raeburn@mit.edu>
* krb5.hin (struct _krb5_donot_replay, krb5_rc_default)
#define FAI_CACHE
#endif
-#if defined (__linux__) || defined (_AIX)
+#if (defined (__linux__) && defined(HAVE_GETADDRINFO)) || defined (_AIX)
/* See comments below. */
# define WRAP_GETADDRINFO
#endif
-#ifdef __linux__
+#if defined (__linux__) && defined(HAVE_GETADDRINFO)
# define COPY_FIRST_CANONNAME
#endif
set, the returned ai_canonname field can be null. The NetBSD
1.5 implementation also does this, if the input hostname is a
numeric host address string. That case isn't handled well at
- the moment. */
+ the moment.
+
+ Libc version 5 didn't have getaddrinfo at all. */
#ifdef COPY_FIRST_CANONNAME
/*