Mercurial > hg
diff contrib/buildrpm @ 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 | 6def53be19fb |
children | 3e000e2bf5f6 |