~ubuntu-core-dev/apt/oneiric

« back to all changes in this revision

Viewing changes to apt-pkg/clean.cc

  • Committer: Michael Vogt
  • Date: 2011-08-15 12:14:35 UTC
  • mfrom: (1327.97.57 debian-sid)
  • Revision ID: michael.vogt@ubuntu.com-20110815121435-ya00o0nicb1kiz2y
merged from the debian-sid branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
      if (P.end() != true)
86
86
      {
87
87
         pkgCache::VerIterator V = P.VersionList();
88
 
         for (; V.end() == false; V++)
 
88
         for (; V.end() == false; ++V)
89
89
         {
90
90
            // See if we can fetch this version at all
91
91
            bool IsFetchable = false;
92
92
            for (pkgCache::VerFileIterator J = V.FileList(); 
93
 
                 J.end() == false; J++)
 
93
                 J.end() == false; ++J)
94
94
            {
95
95
               if (CleanInstalled == true &&
96
96
                   (J.File()->Flags & pkgCache::Flag::NotSource) != 0)