From owner-freebsd-hackers Thu Oct 4 13: 2:32 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [212.61.40.17]) by hub.freebsd.org (Postfix) with ESMTP id 2C9AF37B40D; Thu, 4 Oct 2001 13:02:29 -0700 (PDT) Received: by gvr.gvr.org (Postfix, from userid 657) id 958A0586C; Thu, 4 Oct 2001 22:02:27 +0200 (CEST) Date: Thu, 4 Oct 2001 22:02:27 +0200 From: Guido van Rooij To: Mike Smith Cc: freebsd-hackers@freebsd.org Subject: Re: grep memory footage Message-ID: <20011004220227.A78588@gvr.gvr.org> References: <20011004180356.A76896@gvr.gvr.org> <200110041849.f94InnE01299@mass.dis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200110041849.f94InnE01299@mass.dis.org>; from msmith@freebsd.org on Thu, Oct 04, 2001 at 11:49:49AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 04, 2001 at 11:49:49AM -0700, Mike Smith wrote: > > It's a known bug in grep; there are probably a bunch of PRs outstanding > on it. We need grep to be updated. > From looking at the source, it seems that the lates version still seems to have the same problem. The problem seems to be in grep.c:grep(), where the variable save seems to ever increase. But the code is so amazingly hairy that I cannot figure out why. -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message