Error handling for maximum database size
commitd843c86b7b7cbf376716817e7c2c55b1f9360a72
authorAllan McRae <allan@archlinux.org>
Sat, 29 Jan 2011 01:39:25 +0000 (29 11:39 +1000)
committerAllan McRae <allan@archlinux.org>
Thu, 3 Feb 2011 23:55:45 +0000 (4 09:55 +1000)
tree0f1d6d7501333df041871781c0b24faadc8200e6
parent021085624ea94a7116c60552e5c153de6cb5f057
Error handling for maximum database size

Check that the requested size of a pkghash is not beyond the maximum
prime.  Also check for successful creation of a new hash before
rehashing.

Signed-off-by: Allan McRae <allan@archlinux.org>
lib/libalpm/pkghash.c