cvs commit: src/include netdb.h src/lib/libc/net gethostbydns.c gethostbyht.c gethostbyname.3 gethostbynis.c gethostnamadr.c netdb_private.h

[ Available lists | Index of cvs-all | Month of May 2006 | Week of 12 May 2006 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Hajimu UMEMOTO <ume@FreeBSD.org>
Date
12 May 2006 15:37:24
Subject
cvs commit: src/include netdb.h src/lib/libc/net gethostbydns.c gethostbyht.c gethostbyname.3 gethostbynis.c gethostnamadr.c netdb_private.h
Message-ID
200605121537.k4CFbN5W072935@repoman.freebsd.org


[ Hide this part ]
ume         2006-05-12 15:37:23 UTC

FreeBSD src repository

Modified files:
include netdb.h
lib/libc/net gethostbydns.c gethostbyht.c
gethostbyname.3 gethostbynis.c
gethostnamadr.c netdb_private.h
Log:
Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1:

http://www.opengroup.org/onlinepubs/009695399/functions/gethostbyaddr.html

gethostbyaddr_r() is changed as well.
It breaks ABI backward compatibility on 64 bit arch. So, we fix it
on 32 bit arch only for now.

Reported by: Rostislav Krasny <rosti.bsd@gmail.com>

Revision Changes Path
1.42 +9 -2 src/include/netdb.h
1.57 +7 -4 src/lib/libc/net/gethostbydns.c
1.26 +5 -4 src/lib/libc/net/gethostbyht.c
1.35 +2 -2 src/lib/libc/net/gethostbyname.3
1.28 +7 -7 src/lib/libc/net/gethostbynis.c
1.32 +14 -4 src/lib/libc/net/gethostnamadr.c
1.13 +1 -1 src/lib/libc/net/netdb_private.h


Elapsed time: 0.056 seconds