[apt-pkg] yet another bit of mmap and pkgcachegen housekeeping
authorDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 23 Jul 2009 12:05:41 +0000 (14:05 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 23 Jul 2009 12:05:41 +0000 (14:05 +0200)
commiteb162ff79b93ea98380f4555e0fe3116993241fb
tree6224d610450f55a95c369de2584bd76f21f92903
parent9ee47c299d6491ae48b853dc104283907d4d29f9
[apt-pkg] yet another bit of mmap and pkgcachegen housekeeping
* add mmap error message also to the dynamic mmap
* remove some more {Ver,Desc} == 0 checks in for loops
* try to respect the given flags to the dynamic mmap
* open cached caches not as ReadOnly and not as Shared, so we
  always have a copy of the cache in the memory we can modify
  (e.g. set the hold state on-the-fly)
apt-pkg/contrib/mmap.cc
apt-pkg/pkgcachegen.cc