]> git.saurik.com Git - apt.git/commit - apt-pkg/cachefile.cc
deal better with (very) small apt::cache-start values
authorDavid Kalnischkies <david@kalnischkies.de>
Tue, 26 Jan 2016 23:15:12 +0000 (00:15 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Tue, 26 Jan 2016 23:15:12 +0000 (00:15 +0100)
commita133f79c8766aee5b7d7811285e60b3d311d8473
tree3aacdd4256d6419760d6843e7574ba6c334a136b
parent8efd5947bf7de0fc3db51b4871bcf3522018761d
deal better with (very) small apt::cache-start values

It is a bit academic to support values which aren't big enough to fit even
the hashtables without resizing, but cleaning up ensures that we do the
right thing (aka not segfaulting) even if something goes wrong in these
deep layers. You still can't have very very small values through…

Git-Dch: Ignore
apt-pkg/cachefile.cc
apt-pkg/pkgcachegen.cc
apt-pkg/pkgcachegen.h