X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/629b60f6feea2d2d356645aa2615b212481bd3d8..a865ed25fa54514224cf4d6f83dd9cf48b7ed02b:/apt-pkg/pkgcachegen.cc diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc index 7539e1b94..49a7f7adc 100644 --- a/apt-pkg/pkgcachegen.cc +++ b/apt-pkg/pkgcachegen.cc @@ -98,6 +98,7 @@ pkgCacheGenerator::~pkgCacheGenerator() return; Cache.HeaderP->Dirty = false; + Cache.HeaderP->CacheFileSize = Map.Size(); Map.Sync(0,sizeof(pkgCache::Header)); } /*}}}*/