Re: Broken error handling with AF_* and socket(2) [was Re: svn commit: r243965 - in head/sys: kern sys]

2012-12-21 Thread Garrett Cooper
(Don't know why I hit reply instead of reply-all, but oh well... I had one more reply anyhow) On Fri, Dec 21, 2012 at 4:28 AM, Garrett Cooper yaneg...@gmail.com wrote: On Fri, Dec 21, 2012 at 4:11 AM, Garrett Cooper yaneg...@gmail.com wrote: On Thu, Dec 6, 2012 at 6:22 PM, Kevin Lo

Re: Broken error handling with AF_* and socket(2) [was Re: svn commit: r243965 - in head/sys: kern sys]

2012-12-21 Thread Kevin Lo
On 2012/12/21 20:11, Garrett Cooper wrote: On Thu, Dec 6, 2012 at 6:22 PM, Kevin Lo ke...@freebsd.org wrote: Author: kevlo Date: Fri Dec 7 02:22:48 2012 New Revision: 243965 URL: http://svnweb.freebsd.org/changeset/base/243965 Log: - according to POSIX, make socket(2) return EAFNOSUPPORT