From owner-freebsd-doc@FreeBSD.ORG Sun Mar 10 08:30:00 2013 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D43995DA for ; Sun, 10 Mar 2013 08:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B7C03228 for ; Sun, 10 Mar 2013 08:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2A8U0op083720 for ; Sun, 10 Mar 2013 08:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2A8U0oY083708; Sun, 10 Mar 2013 08:30:00 GMT (envelope-from gnats) Resent-Date: Sun, 10 Mar 2013 08:30:00 GMT Resent-Message-Id: <201303100830.r2A8U0oY083708@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Chadwick Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5D7CD283 for ; Sun, 10 Mar 2013 08:20:15 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from qmta01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:43:76:96:30:16]) by mx1.freebsd.org (Postfix) with ESMTP id 46DC11E1 for ; Sun, 10 Mar 2013 08:20:15 +0000 (UTC) Received: from omta04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by qmta01.emeryville.ca.mail.comcast.net with comcast id 9kKA1l0030lTkoCA1kLEa5; Sun, 10 Mar 2013 08:20:14 +0000 Received: from koitsu.strangled.net ([67.180.84.87]) by omta04.emeryville.ca.mail.comcast.net with comcast id 9kLD1l0091t3BNj8QkLDyq; Sun, 10 Mar 2013 08:20:13 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 6E1DA73A31; Sun, 10 Mar 2013 00:20:13 -0800 (PST) Message-Id: <20130310082013.6E1DA73A31@icarus.home.lan> Date: Sun, 10 Mar 2013 00:20:13 -0800 (PST) From: Jeremy Chadwick To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: docs/176806: recv(2) man page grammatical fixes X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jeremy Chadwick List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Mar 2013 08:30:01 -0000 >Number: 176806 >Category: docs >Synopsis: recv(2) man page grammatical fixes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 10 08:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 9.1-STABLE amd64 >Organization: >Environment: System: FreeBSD icarus.home.lan 9.1-STABLE FreeBSD 9.1-STABLE #0 r247132: Thu Feb 21 19:15:34 PST 2013 root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_9_amd64 amd64 >Description: recv(2) has the following description for EAGAIN: [EAGAIN] The socket is marked non-blocking, and the receive operation would block, or a receive timeout had been set, and the timeout expired before data were received. Improper use of commas make the sentence difficult to comprehend, and the word "were" should be "was". >How-To-Repeat: n/a >Fix: Patch is below. Patch will also be available at the below URL once I receive a PR number: http://jdc.koitsu.org/freebsd/{prnum}/ --- lib/libc/sys/recv.2.orig 2013-03-10 00:13:36.199637447 -0800 +++ lib/libc/sys/recv.2 2013-03-10 00:14:48.123636848 -0800 @@ -319,10 +319,10 @@ closed, any pending data can be returned by another call to .Fn recvmsg . .It Bq Er EAGAIN -The socket is marked non-blocking, and the receive operation +The socket is marked non-blocking and the receive operation would block, or -a receive timeout had been set, -and the timeout expired before data were received. +a receive timeout had been set +and the timeout expired before data was received. .It Bq Er EINTR The receive was interrupted by delivery of a signal before any data were available. >Release-Note: >Audit-Trail: >Unformatted: