Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-2] src/lib/libc/net



Module Name:    src
Committed By:   riz
Date:           Tue Jul  5 18:34:29 UTC 2005

Modified Files:
        src/lib/libc/net [netbsd-2]: getnetent.3

Log Message:
Pull up revision 1.13 (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.12 -r1.12.4.1 src/lib/libc/net/getnetent.3

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