From owner-freebsd-bugs Mon Oct 28 7: 0:17 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4280B37B401 for ; Mon, 28 Oct 2002 07:00:15 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F362F43E4A for ; Mon, 28 Oct 2002 07:00:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9SF0Ex3040951 for ; Mon, 28 Oct 2002 07:00:14 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9SF0EDl040950; Mon, 28 Oct 2002 07:00:14 -0800 (PST) Date: Mon, 28 Oct 2002 07:00:14 -0800 (PST) Message-Id: <200210281500.g9SF0EDl040950@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Robin Schilham Subject: Re: gnu/44564: [PATCH] Aborted cvs session causes an endless loop in cvs server. Reply-To: Robin Schilham Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR gnu/44564; it has been noted by GNATS. From: Robin Schilham To: freebsd-gnats-submit@FreeBSD.org, co9@xs4all.nl Cc: Subject: Re: gnu/44564: [PATCH] Aborted cvs session causes an endless loop in cvs server. Date: Mon, 28 Oct 2002 15:57:55 +0100 OK, and the patches are: --- buffer.c.orig Mon Oct 28 12:40:16 2002 +++ buffer.c Mon Oct 28 12:43:50 2002 @@ -1462,6 +1462,8 @@ && waitpid (bc->child_pid, (int *) 0, 0) == -1) error (1, errno, "waiting for process %d", bc->child_pid); + buf->shutdown = NULL; + return 0; } --- server.c.orig Mon Oct 28 12:40:29 2002 +++ server.c Mon Oct 28 12:44:10 2002 @@ -332,6 +332,7 @@ struct buffer *buf; { free (buf->closure); + buf->shutdown = NULL; return 0; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message