diff options
author | Julian Andres Klode <jak@debian.org> | 2011-07-20 16:37:56 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2011-07-20 16:37:56 +0200 |
commit | 0688ccd8d9ae40741f1a2ef0de25a59e2203fc5e (patch) | |
tree | e36723222a32aa90a16092806e9b516fc7e59c0e /apt-pkg/pkgcache.cc | |
parent | 6932831f2ace44eb3e586186ac848c8ca9b690da (diff) |
apt-pkg/pkgcache.h: Add pkgCache::Header::CacheFileSize, storing the cache size
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r-- | apt-pkg/pkgcache.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc index 951caeb78..1fd21a0ad 100644 --- a/apt-pkg/pkgcache.cc +++ b/apt-pkg/pkgcache.cc @@ -84,6 +84,8 @@ pkgCache::Header::Header() memset(PkgHashTable,0,sizeof(PkgHashTable)); memset(GrpHashTable,0,sizeof(GrpHashTable)); memset(Pools,0,sizeof(Pools)); + + CacheFileSize = 0; } /*}}}*/ // Cache::Header::CheckSizes - Check if the two headers have same *sz /*{{{*/ |