From owner-freebsd-doc@FreeBSD.ORG Mon Jul 26 23:20:05 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E8AE1065674 for ; Mon, 26 Jul 2010 23:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 611FD8FC0C for ; Mon, 26 Jul 2010 23:20:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o6QNK5wC097853 for ; Mon, 26 Jul 2010 23:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o6QNK5A3097852; Mon, 26 Jul 2010 23:20:05 GMT (envelope-from gnats) Date: Mon, 26 Jul 2010 23:20:05 GMT Message-Id: <201007262320.o6QNK5A3097852@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Glen Barber Cc: Subject: Re: docs/148683: connect(2) man page does not show ECONNRESET error in the list of possible errors X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Glen Barber List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2010 23:20:05 -0000 The following reply was made to PR docs/148683; it has been noted by GNATS. From: Glen Barber To: bug-followup@FreeBSD.org, gpr@mail.ru Cc: Subject: Re: docs/148683: connect(2) man page does not show ECONNRESET error in the list of possible errors Date: Mon, 26 Jul 2010 19:16:37 -0400 This is a multi-part message in MIME format. --------------050301010102010001070006 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, The attached patch adds ECONNRESET to connect(2). Regards, -- Glen Barber --------------050301010102010001070006 Content-Type: text/plain; name="sys.connect2.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="sys.connect2.txt" Index: 9-CURRENT/lib/libc/sys/connect.2 =================================================================== --- 9-CURRENT/lib/libc/sys/connect.2 (revision 210519) +++ 9-CURRENT/lib/libc/sys/connect.2 (working copy) @@ -28,7 +28,7 @@ .\" @(#)connect.2 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd August 16, 2006 +.Dd July 26, 2010 .Dt CONNECT 2 .Os .Sh NAME @@ -95,6 +95,8 @@ Connection establishment timed out without establishing a connection. .It Bq Er ECONNREFUSED The attempt to connect was forcefully rejected. +.It Bq Er ECONNRESET +Remote host reset the connection request. .It Bq Er ENETUNREACH The network is not reachable from this host. .It Bq Er EHOSTUNREACH --------------050301010102010001070006--