From seth at userprimary.net  Tue Mar 16 05:13:57 2010
From: seth at userprimary.net (Seth Falcon)
Date: Mon, 15 Mar 2010 21:13:57 -0700
Subject: [Rd] list_files() memory corruption?
In-Reply-To: <e63850351003152037k1dbde4c1o2ba9c51ecd02fb4d@mail.gmail.com>
References: <e63850351003121637rc13612et6fbd55fd453757f7@mail.gmail.com>	
	<4B9EF5D2.8010107@userprimary.net>
	<e63850351003152037k1dbde4c1o2ba9c51ecd02fb4d@mail.gmail.com>
Message-ID: <4B9F0585.409@userprimary.net>

On 3/15/10 8:37 PM, Alistair Gee wrote:
> I think I have a fix that avoids the problem by just growing the
> vector as necessary as the directory is traversed (and no longer uses
> count_lines()).
> 
> I don't have access to the code at the moment, but I should be able to
> post the patch tomorrow. Is there interest in my patch?

I'm curious to know if this is a problem you have encountered while using R.

My initial thought is that there isn't much benefit of making this part
of the code smarter.  If your patch simplifies things, I'd be more
interested.

+ seth



[Rd] list_files() memory corruption?
Seth Falcon