]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debindexfile.cc
* apt-pkg/packagemanager.cc:
[apt.git] / apt-pkg / deb / debindexfile.cc
index 84791a70aa7fdcd9094fbd0bdbc2cbaf68726074..5dc2a2ac20e53b36be5d8b8897084c7f6359d5b2 100644 (file)
@@ -600,9 +600,6 @@ bool debStatusIndex::Merge(pkgCacheGenerator &Gen,OpProgress *Prog) const
 
    // Store the IMS information
    pkgCache::PkgFileIterator CFile = Gen.GetCurFile();
-   struct stat St;
-   if (fstat(Pkg.Fd(),&St) != 0)
-      return _error->Errno("fstat","Failed to stat");
    CFile->Size = Pkg.FileSize();
    CFile->mtime = Pkg.ModificationTime();
    CFile->Archive = Gen.WriteUniqString("now");