[Rd] list_files() memory corruption?

Seth Falcon seth at userprimary.net
Tue Mar 16 05:13:57 CET 2010


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



More information about the R-devel mailing list