Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/net



Module Name:    src
Committed By:   dholland
Date:           Thu Dec 13 04:30:56 UTC 2018

Modified Files:
        src/lib/libc/net: getaddrinfo.c

Log Message:
Return EAI_NODATA, not EAI_NONAME, for nonexistent hosts.

This causes e.g. "ssh nosuchname" to print "No address associated with
hostname", which is correct, rather than "hostname nor servname
provided, or not known", which is not.


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/lib/libc/net/getaddrinfo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index