~ubuntu-branches/ubuntu/maverick/apt/maverick

« back to all changes in this revision

Viewing changes to apt-pkg/depcache.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt, Michael Vogt, David Kalnischkies
  • Date: 2010-10-01 15:25:00 UTC
  • Revision ID: james.westby@ubuntu.com-20101001152500-zxkebq4pjtnls8ah
Tags: 0.8.3ubuntu6
[ Michael Vogt ]
* debian/apt.cron.daily:
  - source /etc/default/locale (if available) so that the 
    apt-get update cron job fetches the right translated package
    descriptions (LP: #652951)

[ David Kalnischkies ]
* apt-pkg/depcache.cc:
  - do not check endpointer packages instead of only those which prevented
    NeverAutoRemove settings from having an effect (Closes: #598452)
* cmdline/apt-cache.cc:
  - use the TranslatedDescription for searching and not the first
    available one as it is maybe not an expected language (Closes: #597925)

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
     DefaultRootSetFunc() : Configuration::MatchAgainstConfig("APT::NeverAutoRemove") {};
190
190
     virtual ~DefaultRootSetFunc() {};
191
191
 
192
 
     bool InRootSet(const pkgCache::PkgIterator &pkg) { return pkg.end() == true && Match(pkg.Name()); };
 
192
     bool InRootSet(const pkgCache::PkgIterator &pkg) { return pkg.end() == false && Match(pkg.Name()); };
193
193
   };
194
194
 
195
195
   struct StateCache