diff options
author | Julian Andres Klode <jak@debian.org> | 2011-07-20 16:38:24 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2011-07-20 16:38:24 +0200 |
commit | 1dfda2ce4ce2848a0dda314038ff08ffb81b122b (patch) | |
tree | 6b1086c0c59cc8c18f4131b670b7eb20fefb9c69 /apt-pkg/pkgcachegen.cc | |
parent | 0688ccd8d9ae40741f1a2ef0de25a59e2203fc5e (diff) |
apt-pkg/pkgcachegen.cc: Write the file size to the cache
Diffstat (limited to 'apt-pkg/pkgcachegen.cc')
-rw-r--r-- | apt-pkg/pkgcachegen.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc index b89c8c0d3..70dcd9de9 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)); } /*}}}*/ |