DragonFly commits List (threaded) for 2008-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/include netdb.h src/lib/libc/net Makefile.inc gai_strerror.3 getaddrinfo.c getnameinfo.c
swildner 2008/10/04 15:09:17 PDT
DragonFly src repository
Modified files:
include netdb.h
lib/libc/net Makefile.inc getaddrinfo.c getnameinfo.c
Added files:
lib/libc/net gai_strerror.3
Log:
* Constify return type of gai_strerror() as per bwg2001-009
(see http://www.opengroup.org/platform/resolutions/bwg2001-many.html).
* Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer is
too short. This conforms to RFC 3493, POSIX and XPG6.
* Add a gai_strerror(3) manual page.
Taken-from: FreeBSD
Revision Changes Path
1.7 +5 -4 src/include/netdb.h
1.6 +2 -2 src/lib/libc/net/Makefile.inc
1.8 +3 -2 src/lib/libc/net/getaddrinfo.c
1.5 +3 -3 src/lib/libc/net/getnameinfo.c
http://www.dragonflybsd.org/cvsweb/src/include/netdb.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/Makefile.inc.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getaddrinfo.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getnameinfo.c.diff?r1=1.4&r2=1.5&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]