svn commit: r475258 - in head/net/sniproxy: . files

Kirill Ponomarev kp at krion.cc
Tue Jul 24 16:15:21 UTC 2018


On 07/24, Alexey Dokuchaev wrote:
> On Tue, Jul 24, 2018 at 02:50:33PM +0000, Kirill Ponomarev wrote:
> > New Revision: 475258
> > URL: https://svnweb.freebsd.org/changeset/ports/475258
> > 
> > Log:
> >   Utilize SOCK_NONBLOCK instead of O_NONBLOCK
> > 
> > Added: head/net/sniproxy/files/patch-src_connection.c
> > ...
> > +-                    O_NONBLOCK);
> > ++                    SOCK_NONBLOCK);
> 
> It would be nice if commit message also included the rationale for this
> change (per our 30%-what-70%-why rule).

accept4() is using SOCK_NONBLOCK on FreeBSD instead of O_NONBLOCK
which is a case on Linux.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20180724/96045224/attachment.sig>


More information about the svn-ports-all mailing list