Subject: CVS commit: [netbsd-2] src/lib/libc
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 07/05/2005 18:35:33
Module Name:	src
Committed By:	riz
Date:		Tue Jul  5 18:35:33 UTC 2005

Modified Files:
	src/lib/libc [netbsd-2]: shlib_version

Log Message:
Pull up revision 1.152 via patch (requested by kleink in ticket #2015):
struct netent.n_net used to be an unsigned long integer.
In XNS5, and subsequently in POSIX-2001 it was changed to 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.  Fixes PR
standards/21411 from Ben Harris.
This should be deleted the next time the libc major number is
incremented.
Also, update getnetbyaddr(3)'s `net' argument accordingly.


To generate a diff of this commit:
cvs rdiff -r1.148.2.1 -r1.148.2.1.2.1 src/lib/libc/shlib_version

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