bdiff stack overflow patch

Matt Mackall mpm at selenic.com
Thu Jan 28 23:38:36 CST 2010


On Tue, 2009-12-08 at 14:23 -0500, Alistair Bell wrote:
> As mentioned in http://mercurial.selenic.com/bts/issue1940 I found
> that I was getting a stack overflow in bdiff. You could possibly blame
> GCC 3.4.6 for not recognizing that it should optimize the code as tail
> recursion, but I converted the tail recursion to iteration and the
> problems went away. 

Queued for main, thanks. Next time use hg export or patchbomb, please.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list