comparison hgmerge @ 5614:5133e9f61700

Fix bdiff test failures on AIX. The test fails when, in the call to calloc(), the number of elements (bn) is 0. In that case, calloc() on AIX will return NULL, while the code expects a valid heap pointer. Both results are permissible under C99, Unix98 etc. Work around by ensuring that at least 1 element is requested.
author Jim Hague <jim.hague@acm.org>
date Tue, 23 Oct 2007 10:39:24 +0000
parents f53d97d651f4
children 3c80ecdc1bcd
comparison
equal deleted inserted replaced
5611:60bd4e707a7d 5614:5133e9f61700