summaryrefslogtreecommitdiff
path: root/apt-pkg/policy.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:57:17 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:57:17 +0000
commit20ebd488ff29272654ab101d5ca25fa5fd4905f5 (patch)
tree7d9400abe56d19191c356b21ddaa3e617f5cf57e /apt-pkg/policy.cc
parente28f10c4b7db4283bb1d65e3a1a9b025f3becd5b (diff)
Core correctness patches
Author: jgg Date: 2001-03-13 05:23:42 GMT Core correctness patches
Diffstat (limited to 'apt-pkg/policy.cc')
-rw-r--r--apt-pkg/policy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/policy.cc b/apt-pkg/policy.cc
index cba28cc6c..da72f193a 100644
--- a/apt-pkg/policy.cc
+++ b/apt-pkg/policy.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: policy.cc,v 1.4 2001/03/05 02:43:28 jgg Exp $
+// $Id: policy.cc,v 1.5 2001/03/13 05:23:42 jgg Exp $
/* ######################################################################
Package Version Policy implementation
@@ -73,7 +73,7 @@ bool pkgPolicy::InitDefaults()
}
// Apply the defaults..
- SPtr<bool> Fixed = new bool[Cache->HeaderP->PackageFileCount];
+ SPtrArray<bool> Fixed = new bool[Cache->HeaderP->PackageFileCount];
memset(Fixed,0,sizeof(*Fixed)*Cache->HeaderP->PackageFileCount);
signed Cur = 989;
StatusOverride = false;