On Tue, 09 Jul 2019 18:56:34 +0200, Moritz Buhl wrote:

> while running some NetBSD syscall tests I noticed that listen(2) returns
> the wrong errno when a socket is already connected. man 2 listen already
> mentions EINVAL.

Your patch looks correct and makes our behavior match POSIX (and
our own man page).

 - todd

Reply via email to