0.9.5 release plans

Matt Mackall mpm at selenic.com
Wed Oct 24 12:32:40 CDT 2007


On Tue, Oct 23, 2007 at 01:26:56PM +0100, Jim Hague wrote:
> I have found the cause of the test-bdiff failure. In bdiff.c, calloc() is 
> sometimes called with 0 as the number of members requested. C99, Unix98 and 
> probably other standards say that in that case the return is 
> implementation-defined; it can be a zero-length memory block or NULL. AIX 
> with Visual Age returns NULL, while the code assumes that it will get a valid 
> pointer back. The following work-around changes the call to get a minimum of 
> 1 element. test-bdiff then passes.

Queued, thanks.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list