Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Klaus Klein <kleink@netbsd.org>
List: source-changes
Date: 05/14/2002 16:45:15
Module Name:	basesrc
Committed By:	kleink
Date:		Tue May 14 13:45:14 UTC 2002

Modified Files:
	basesrc/include: netdb.h
	basesrc/lib/libc/net: getaddrinfo.c

Log Message:
struct addrinfo.ai_addrlen used to be a size_t, per RFC 2553.

In XNS5.2, and subsequently in POSIX-2001 and draft-ietf-ipngwg-rfc2553bis-02
it was changed to a socklen_t.

To accomodate for this while preserving binary compatibility with the
old interface, prepend or append 32 bits of padding, depending on
the (LP64 data model) architecture's endianness.

This should be deleted the next time the libc major number is
incremented.


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 basesrc/include/netdb.h
cvs rdiff -r1.54 -r1.55 basesrc/lib/libc/net/getaddrinfo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.