From owner-cvs-all Tue Oct 22 15:19:27 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0F8C37B404 for ; Tue, 22 Oct 2002 15:19:24 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 42AD843E75 for ; Tue, 22 Oct 2002 15:19:24 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 62902 invoked by uid 1000); 22 Oct 2002 22:19:25 -0000 Date: Tue, 22 Oct 2002 15:19:25 -0700 (PDT) From: Nate Lawson To: "Tim J. Robbins" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libfetch ftp.c In-Reply-To: <200210201036.g9KAaSGB039178@repoman.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 20 Oct 2002, Tim J. Robbins wrote: > tjr 2002/10/20 03:36:28 PDT > > Modified files: > lib/libfetch ftp.c > Log: > When recycling a cached connection, increment the reference count so that > the heap block does not get freed and reused. This should fix the > pkg_add -r crashes that have been happening for months. > > Revision Changes Path > 1.82 +1 -1 src/lib/libfetch/ftp.c THANK YOU. As promised, I'll fix the remaining problems I've seen in the connection caching later this week. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message