summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:03 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:03 +0000
commit7d4f285bdee887f8b3e63e2ba1938199c72afda0 (patch)
tree1c6f766db737d6491a5f78aee03f8b7df746bddf /apt-pkg/pkgcache.cc
parent7e798dd739883c1f47216578ba8df34dced24777 (diff)
Fixed for new egcs
Author: jgg Date: 1998-10-08 05:02:06 GMT Fixed for new egcs
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r--apt-pkg/pkgcache.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc
index 2e62f2ea4..111acee7c 100644
--- a/apt-pkg/pkgcache.cc
+++ b/apt-pkg/pkgcache.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: pkgcache.cc,v 1.9 1998/10/02 04:39:46 jgg Exp $
+// $Id: pkgcache.cc,v 1.10 1998/10/08 05:02:06 jgg Exp $
/* ######################################################################
Package Cache - Accessor code for the cache
@@ -204,13 +204,13 @@ void pkgCache::PkgIterator::operator ++(int)
/* By this we mean if it is either cleanly installed or cleanly removed. */
pkgCache::PkgIterator::OkState pkgCache::PkgIterator::State() const
{
- if (Pkg->CurrentState == State::UnPacked ||
- Pkg->CurrentState == State::HalfConfigured)
+ if (Pkg->CurrentState == pkgCache::State::UnPacked ||
+ Pkg->CurrentState == pkgCache::State::HalfConfigured)
return NeedsConfigure;
- if (Pkg->CurrentState == State::UnInstalled ||
- Pkg->CurrentState == State::HalfInstalled ||
- Pkg->InstState != State::Ok)
+ if (Pkg->CurrentState == pkgCache::State::UnInstalled ||
+ Pkg->CurrentState == pkgCache::State::HalfInstalled ||
+ Pkg->InstState != pkgCache::State::Ok)
return NeedsUnpack;
return NeedsNothing;