bin/48114: gethostname(3) can leave the wrong errno

Garrett Wollman wollman at FreeBSD.org
Tue Aug 19 13:44:20 PDT 2003


Synopsis: gethostname(3) can leave the wrong errno

State-Changed-From-To: open->closed
State-Changed-By: wollman
State-Changed-When: Tue Aug 19 13:42:37 PDT 2003
State-Changed-Why: 
Suggested patch applied.  N.B. however that POSIX does not specify
any errno values for this condition, so applications cannot rely on
a meaningful error number.

http://www.freebsd.org/cgi/query-pr.cgi?pr=48114


More information about the freebsd-bugs mailing list