svn commit: r333511 - stable/11/sys/kern

Eric Masson emss at free.fr
Sat May 12 08:26:02 UTC 2018


"Jonathan T. Looney" <jtl at FreeBSD.org> writes:

Hi Jonathan,

> Log:
>   r285910 attempted to make shutdown() be POSIX compliant by returning
>   ENOTCONN when shutdown() is called on unconnected sockets.  This change was
>   slightly modified by r316874, which returns ENOTCONN in the case of an
>   unconnected datagram socket, but still runs the shutdown code for the
>   socket.  This specifically supports the case where the user-space code is
>   using the shutdown() call to wakeup another thread blocked on the socket.

Thanks a lot.

Éric Masson

-- 
 >Une RedHat (je ne connais pas les autres distributions) ce configure
 >aussi simplement que windows pour un poste client. 
 Hélas, elle génère un maximum de traffic sur Usenet
 -+- TP in guide du linuxien pervers - "Je veux revoir ma SLS ! -+- 


More information about the svn-src-all mailing list