summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:58 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:58 +0000
commitd2685fd634b32f152748b7004c6810e946bbbcf2 (patch)
tree80816327fed2afb17d3e7a68de3e2b3be5b042a1 /apt-pkg/depcache.cc
parent09f2e0262915c93c8cf062a52b809d207d016107 (diff)
Two little bug fixes
Author: jgg Date: 1998-12-06 03:41:25 GMT Two little bug fixes
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r--apt-pkg/depcache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc
index b3a70d239..4fb26b777 100644
--- a/apt-pkg/depcache.cc
+++ b/apt-pkg/depcache.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: depcache.cc,v 1.7 1998/11/23 07:02:59 jgg Exp $
+// $Id: depcache.cc,v 1.8 1998/12/06 03:41:26 jgg Exp $
/* ######################################################################
Dependency Cache - Caches Dependency information.
@@ -305,6 +305,7 @@ void pkgDepCache::BuildGroupOrs(VerIterator const &V)
State = ~State;
// Add to the group if we are within an or..
+ State &= 0x7;
Group |= State;
State |= Group << 3;
if ((D->CompareOp & Dep::Or) != Dep::Or)