Date: Mon, 28 Oct 2002 07:00:14 -0800 (PST) From: Robin Schilham <co9@xs4all.nl> To: freebsd-bugs@FreeBSD.org Subject: Re: gnu/44564: [PATCH] Aborted cvs session causes an endless loop in cvs server. Message-ID: <200210281500.g9SF0EDl040950@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR gnu/44564; it has been noted by GNATS.
From: Robin Schilham <co9@xs4all.nl>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210281500.g9SF0EDl040950>
