From c82ffeb66a6a4de0b672ac80fcb4955022e7a615 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:56:56 +0000 Subject: Dans segfault Author: jgg Date: 2001-03-03 23:12:07 GMT Dans segfault --- cmdline/apt-get.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmdline') 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 Seen = new bool[Cache.Head().PackageFileCount]; - memset(Seen,0,Cache.Head().PackageFileCount*sizeof(*Seen)); + SPtrArray Seen = new bool[Cache.Head().PackageCount]; + memset(Seen,0,Cache.Head().PackageCount*sizeof(*Seen)); pkgCache::DepIterator Dep = Pkg.RevDependsList(); for (; Dep.end() == false; Dep++) { -- cgit v1.2.3