summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/pkghash.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-04Error handling for maximum database sizeAllan McRae1-0/+12
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>
2011-02-04Implement a quick and dirty rehash functionDan McGee1-11/+16
This allows us to get through the rehash required by smoke001 and pass all pactests. It is by no means the best or most efficient implementation but it does do the job. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-04Add a hash table for holding packagesAllan McRae1-0/+292
Signed-off-by: Allan McRae <allan@archlinux.org>