]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcachegen.cc
merged fix from donkult
[apt.git] / apt-pkg / pkgcachegen.cc
index 7539e1b94d370018296e10b9841b06b7b02fe931..49a7f7adc0d24859b7290d071e66e4493eefffff 100644 (file)
@@ -98,6 +98,7 @@ pkgCacheGenerator::~pkgCacheGenerator()
       return;
    
    Cache.HeaderP->Dirty = false;
       return;
    
    Cache.HeaderP->Dirty = false;
+   Cache.HeaderP->CacheFileSize = Map.Size();
    Map.Sync(0,sizeof(pkgCache::Header));
 }
                                                                        /*}}}*/
    Map.Sync(0,sizeof(pkgCache::Header));
 }
                                                                        /*}}}*/