Skip Menu |
 

From: raeburn@mit.edu
Subject: SVN Commit
Brian Kantor reports (on the kerberos@mit list today) that krb5-1.6
doesn't build on FreeBSD 6.1 because they've done away with
EAI_NODATA, which was removed from the getaddrinfo API in RFC 3943.

This patch conditionalizes two tests for EAI_NODATA on the macro being
defined, and also adds handling for EAI_OVERFLOW, a new error code
added in RFC 3943.


Commit By: raeburn



Revision: 19410
Changed Files:
U trunk/src/lib/krb5/os/hst_realm.c
U trunk/src/lib/krb5/os/locate_kdc.c
From: tlyu@mit.edu
Subject: SVN Commit
pull up r19410 from trunk

r19410@cathode-dark-space: raeburn | 2007-04-09 16:58:13 -0400
ticket: new
subject: EAI_NODATA deprecated, not always defined
tags: pullup
target_version: 1.6.1

Brian Kantor reports (on the kerberos@mit list today) that krb5-1.6
doesn't build on FreeBSD 6.1 because they've done away with
EAI_NODATA, which was removed from the getaddrinfo API in RFC 3943.

This patch conditionalizes two tests for EAI_NODATA on the macro being
defined, and also adds handling for EAI_OVERFLOW, a new error code
added in RFC 3943.




Commit By: tlyu



Revision: 19418
Changed Files:
_U branches/krb5-1-6/
U branches/krb5-1-6/src/lib/krb5/os/hst_realm.c
U branches/krb5-1-6/src/lib/krb5/os/locate_kdc.c