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

Hajimu UMEMOTO ume at FreeBSD.org
Thu Jun 2 20:32:06 PDT 2005


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.
  
  Discussed on:   arch@, standards@ and current@
  X-MFC after:    never
  
  Revision  Changes    Path
  1.38      +0 -21     src/include/netdb.h
  1.31      +0 -6      src/lib/libc/net/getnetbydns.c
  1.16      +0 -3      src/lib/libc/net/getnetbyht.c
  1.19      +0 -3      src/lib/libc/net/getnetbynis.c
  1.21      +1 -5      src/lib/libc/net/getnetnamadr.c


More information about the cvs-src mailing list