cvs commit: src/include netdb.h src/lib/libc/net getnetbydns.c getnetbyht.c getnetbynis.c getnetnamadr.c

Ruslan Ermilov ru at FreeBSD.org
Fri Jun 3 02:30:58 PDT 2005


On Fri, Jun 03, 2005 at 01:01:57AM -0700, Peter Wemm wrote:
> On Thursday 02 June 2005 08:32 pm, Hajimu UMEMOTO wrote:
> > ume         2005-06-03 03:32:06 UTC
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     include              netdb.h
> >     lib/libc/net         getnetbydns.c getnetbyht.c getnetbynis.c
> >                          getnetnamadr.c
> >   Log:
> >   - Remove padding for ABI compatibility of n_net member from struct
> >     netent.
> >   - Change 1st argument of getnetbyaddr() to an uint32_t on 64 bit
> >     arch as well to confirm to POSIX-2001.
> >
> >   These changes break ABI compatibility on 64 bit arch.
> >   There is similar padding issue for ai_addrlen of struct addrinfo.
> >   However, it is leaved as is for now.
> 
> getnet*() should be fairly rare, but if it is referenced by any of our 
> shared libraries and they haven't already been bumped relative to 5.x, 
> then they need to be bumped now.
> 
# grep getnetby /lib/*.so.* /usr/lib/*.so.*
Binary file /lib/libc.so.6 matches
Binary file /usr/lib/libpcap.so.3 matches


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050603/322bf1de/attachment.bin


More information about the cvs-src mailing list