From owner-svn-src-head@FreeBSD.ORG Fri Apr 19 14:04:02 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 85475D29; Fri, 19 Apr 2013 14:04:02 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) by mx1.freebsd.org (Postfix) with ESMTP id A18363A7; Fri, 19 Apr 2013 14:04:01 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id l13so863425wie.16 for ; Fri, 19 Apr 2013 07:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=H3Qk7cPOlsogNg+FEQX7Qc2rZ6xEjTKPEMs1kfdRkr4=; b=EnJ0XRbxnGTHgWO4szsYNWX4ukMU9BawAamT0P26xcUI5nPfGhmOovsJTFUQ+UuMoq iftcAhkWsJ8vlgziSBkDRL338PY2+jBq7sk/25uKjintxchGkOJ5Rs1wNTHZfz/2r2Db X6JMHq/AxVGZ0OJL5AUg5HCtBw6kkNAuTJLxp5uczFVJNRiKNzIXBgDoZvj7cqdxL/fQ xgMiWWUx45fiHfHA/6PLTVT0MjPk4Nf5GpGkLqyqPlLgtwcpcIy1kVy2oCQyasQKyvkI EnkDI1s/XtWqOfa9/IRMjkLd3s39INiCTLpd9TEQd0uiR2EaoCfFNldOkhrbG2fS8v5m YLJA== MIME-Version: 1.0 X-Received: by 10.180.103.65 with SMTP id fu1mr25606261wib.4.1366380240783; Fri, 19 Apr 2013 07:04:00 -0700 (PDT) Sender: pluknet@gmail.com Received: by 10.194.86.167 with HTTP; Fri, 19 Apr 2013 07:04:00 -0700 (PDT) In-Reply-To: <201304191340.r3JDeD9h043466@svn.freebsd.org> References: <201304191340.r3JDeD9h043466@svn.freebsd.org> Date: Fri, 19 Apr 2013 18:04:00 +0400 X-Google-Sender-Auth: R5HPs_uNXf1gZZ_4OJYNT75p7qc Message-ID: Subject: Re: svn commit: r249649 - head/sys/kern From: Sergey Kandaurov To: Gleb Smirnoff Content-Type: text/plain; charset=ISO-8859-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Apr 2013 14:04:02 -0000 On 19 April 2013 17:40, Gleb Smirnoff 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