Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-2] src/include
Module Name: src
Committed By: riz
Date: Tue Jul 5 18:34:32 UTC 2005
Modified Files:
src/include [netbsd-2]: netdb.h
Log Message:
Pull up revisions 1.37 - 1.38 (requested by kleink in ticket #2015):
1.37:
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.
1.38:
* __sparc64__ -> __sparc__ && _LP64,
* add a comment on the purpose of __ai_pad0.
Both suggested by mrg.
To generate a diff of this commit:
cvs rdiff -r1.34.2.1.2.1 -r1.34.2.1.2.2 src/include/netdb.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index