Date: Sun, 10 Mar 2013 00:20:13 -0800 (PST) From: Jeremy Chadwick <jdc@koitsu.org> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/176806: recv(2) man page grammatical fixes Message-ID: <20130310082013.6E1DA73A31@icarus.home.lan> Resent-Message-ID: <201303100830.r2A8U0oY083708@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130310082013.6E1DA73A31>