]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r342379, r342383:
authorPedro F. Giffuni <pfg@FreeBSD.org>
Mon, 28 Jan 2019 02:26:05 +0000 (02:26 +0000)
committerPedro F. Giffuni <pfg@FreeBSD.org>
Mon, 28 Jan 2019 02:26:05 +0000 (02:26 +0000)
commit80237a47cc96bee0783fc1bb2c1222d4a9174344
tree07388593035ebc69983ce909ce8604744f420f22
parent06e256eeda4bcc73f7dcdd1043852fd463d92f8c
MFC r342379, r342383:
gai_strerror() - Update string error messages according to RFC 3493.

Error messages in gai_strerror(3) vary largely among OSs.

For new software we largely replaced the obsoleted EAI_NONAME and
with EAI_NODATA but we never updated the corresponding message to better
match the intended use. We also have references to ai_flags and ai_family
which are not very descriptive for non-developer end users.

Bring new error messages based on informational RFC 3493, which has
obsoleted RFC 2553, and make them consistent among the header and
manpage.
include/netdb.h
lib/libc/net/gai_strerror.3
lib/libc/net/gai_strerror.c