From 0c460cc3dd392dfaa7b1d6af16ba5b04c6a4a676 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 19 Jul 2001 11:20:46 +0000 Subject: [PATCH] drop temporary sunos4 hacks git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13610 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/fake-addrinfo.h | 8 -------- src/include/krb5/ChangeLog | 5 +++++ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/include/fake-addrinfo.h b/src/include/fake-addrinfo.h index 96bc79dca..48d945574 100644 --- a/src/include/fake-addrinfo.h +++ b/src/include/fake-addrinfo.h @@ -178,9 +178,6 @@ int getaddrinfo (const char *name, const char *serv, size_t numlen = strspn (serv, "0123456789"); if (serv[numlen] == '\0') { /* pure numeric */ -#ifdef sun -#define strtoul strtol -#endif unsigned long p = strtoul (serv, 0, 10); if (p == 0 || p > 65535) return EAI_NONAME; @@ -223,12 +220,7 @@ int getaddrinfo (const char *name, const char *serv, If it's not set, don't accept such names. */ if (flags & AI_NUMERICHOST) { struct in_addr addr4; -#ifdef sun - addr4.s_addr = inet_addr (name); - ret = addr4.s_addr != 0 && strcmp("0.0.0.0", name); -#else ret = inet_aton (name, &addr4); -#endif if (ret) return EAI_NONAME; ret = fai_add_entry (&res, &addr4, port, &template); diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 89e62f936..d2aed49b9 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,8 @@ +2001-06-26 Ken Raeburn + + * adm.h (krb5_realm_params): Add fields realm_allow_transit and + realm_allow_transit_valid; delete field realm_filler. + 2001-04-27 Ezra Peisach * .cvsignore: Add stamp-h.in -- 2.26.2