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

Peter Wemm peter at wemm.org
Fri Jun 3 01:02:01 PDT 2005


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.

-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


More information about the cvs-src mailing list