Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2013 18:04:00 +0400
From:      Sergey Kandaurov <pluknet@freebsd.org>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r249649 - head/sys/kern
Message-ID:  <CAE-mSOLF8TXjKG_MepMDna%2BbKkBhRQY-PFBDMC=Xo5uLF4Ofkg@mail.gmail.com>
In-Reply-To: <201304191340.r3JDeD9h043466@svn.freebsd.org>
References:  <201304191340.r3JDeD9h043466@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19 April 2013 17:40, Gleb Smirnoff <glebius@freebsd.org> wrote:
> Author: glebius
> Date: Fri Apr 19 13:40:13 2013
> New Revision: 249649
> URL: http://svnweb.freebsd.org/changeset/base/249649
>
> Log:
>   Don't compare unsigned socklen_t against < 0.
>
>   Reviewed by:  jhb
>

Thank you. This is long overdue since socklen_t.
You may also want to update man page.

Index: lib/libc/sys/accept.2
===================================================================
--- lib/libc/sys/accept.2       (revision 245745)
+++ lib/libc/sys/accept.2       (working copy)
@@ -28,7 +28,7 @@
 .\"     @(#)accept.2   8.2 (Berkeley) 12/11/93
 .\" $FreeBSD$
 .\"
-.Dd December 11, 1993
+.Dd February 20, 2013
 .Dt ACCEPT 2
 .Os
 .Sh NAME
@@ -154,10 +154,6 @@ The descriptor references a file, not a socket.
 .It Bq Er EINVAL
 .Xr listen 2
 has not been called on the socket descriptor.
-.It Bq Er EINVAL
-The
-.Fa addrlen
-argument is negative.
 .It Bq Er EFAULT
 The
 .Fa addr

-- 
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOLF8TXjKG_MepMDna%2BbKkBhRQY-PFBDMC=Xo5uLF4Ofkg>