summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:56:56 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:56:56 +0000
commitc82ffeb66a6a4de0b672ac80fcb4955022e7a615 (patch)
treed95da7239778c87a2a8fc5073633f72454a7fd14
parentf955ecd02efa51a1fc7ce45b4d5d33c91170d371 (diff)
Dans segfault
Author: jgg Date: 2001-03-03 23:12:07 GMT Dans segfault
-rw-r--r--cmdline/apt-get.cc6
-rw-r--r--debian/changelog1
2 files changed, 4 insertions, 3 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 04f18b162..2ddf240d6 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-get.cc,v 1.102 2001/02/27 02:51:03 tausq Exp $
+// $Id: apt-get.cc,v 1.103 2001/03/03 23:12:07 jgg Exp $
/* ######################################################################
apt-get - Cover for dpkg
@@ -930,8 +930,8 @@ bool TryToInstall(pkgCache::PkgIterator Pkg,pkgDepCache &Cache,
"of sources.list\n"),Pkg.Name());
string List;
- SPtrArray<bool> Seen = new bool[Cache.Head().PackageFileCount];
- memset(Seen,0,Cache.Head().PackageFileCount*sizeof(*Seen));
+ SPtrArray<bool> Seen = new bool[Cache.Head().PackageCount];
+ memset(Seen,0,Cache.Head().PackageCount*sizeof(*Seen));
pkgCache::DepIterator Dep = Pkg.RevDependsList();
for (; Dep.end() == false; Dep++)
{
diff --git a/debian/changelog b/debian/changelog
index 37023aaea..86d495815 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ apt (0.5.1) unstable; urgency=low
* Updated soname version to 0.3.2
* apt-extracttemplates moved from debconf into apt-utils
* s390 archtable entry. Closes: #88232
+ * Dan's segfault
-- Jason Gunthorpe <jgg@debian.org> Thu, 22 Feb 2001 00:39:15 -0500