|
@@ -63,7 +63,7 @@ bool pkgPackageManager::GetArchives(pkgAcquire *Owner,pkgSourceList *Sources,
|
|
|
if (ordering == false)
|
|
if (ordering == false)
|
|
|
return _error->Error("Internal ordering error");
|
|
return _error->Error("Internal ordering error");
|
|
|
|
|
|
|
|
- for (pkgOrderList::iterator I = List->begin(); I != List->end(); I++)
|
|
|
|
|
|
|
+ for (pkgOrderList::iterator I = List->begin(); I != List->end(); ++I)
|
|
|
{
|
|
{
|
|
|
PkgIterator Pkg(Cache,*I);
|
|
PkgIterator Pkg(Cache,*I);
|
|
|
FileNames[Pkg->ID] = string();
|
|
FileNames[Pkg->ID] = string();
|
|
@@ -262,7 +262,7 @@ bool pkgPackageManager::ConfigureAll()
|
|
|
pkgOrderList OList(&Cache);
|
|
pkgOrderList OList(&Cache);
|
|
|
|
|
|
|
|
// Populate the order list
|
|
// Populate the order list
|
|
|
- for (pkgOrderList::iterator I = List->begin(); I != List->end(); I++)
|
|
|
|
|
|
|
+ for (pkgOrderList::iterator I = List->begin(); I != List->end(); ++I)
|
|
|
if (List->IsFlag(pkgCache::PkgIterator(Cache,*I),
|
|
if (List->IsFlag(pkgCache::PkgIterator(Cache,*I),
|
|
|
pkgOrderList::UnPacked) == true)
|
|
pkgOrderList::UnPacked) == true)
|
|
|
OList.push_back(*I);
|
|
OList.push_back(*I);
|
|
@@ -274,7 +274,7 @@ bool pkgPackageManager::ConfigureAll()
|
|
|
bool const ConfigurePkgs = (conf == "all");
|
|
bool const ConfigurePkgs = (conf == "all");
|
|
|
|
|
|
|
|
// Perform the configuring
|
|
// Perform the configuring
|
|
|
- for (pkgOrderList::iterator I = OList.begin(); I != OList.end(); I++)
|
|
|
|
|
|
|
+ for (pkgOrderList::iterator I = OList.begin(); I != OList.end(); ++I)
|
|
|
{
|
|
{
|
|
|
PkgIterator Pkg(Cache,*I);
|
|
PkgIterator Pkg(Cache,*I);
|
|
|
|
|
|
|
@@ -309,7 +309,7 @@ bool pkgPackageManager::SmartConfigure(PkgIterator Pkg)
|
|
|
return false;
|
|
return false;
|
|
|
|
|
|
|
|
// Perform the configuring
|
|
// Perform the configuring
|
|
|
- for (pkgOrderList::iterator I = OList.begin(); I != OList.end(); I++)
|
|
|
|
|
|
|
+ for (pkgOrderList::iterator I = OList.begin(); I != OList.end(); ++I)
|
|
|
{
|
|
{
|
|
|
PkgIterator Pkg(Cache,*I);
|
|
PkgIterator Pkg(Cache,*I);
|
|
|
|
|
|
|
@@ -652,7 +652,7 @@ pkgPackageManager::OrderResult pkgPackageManager::OrderInstall()
|
|
|
clog << "Done ordering" << endl;
|
|
clog << "Done ordering" << endl;
|
|
|
|
|
|
|
|
bool DoneSomething = false;
|
|
bool DoneSomething = false;
|
|
|
- for (pkgOrderList::iterator I = List->begin(); I != List->end(); I++)
|
|
|
|
|
|
|
+ for (pkgOrderList::iterator I = List->begin(); I != List->end(); ++I)
|
|
|
{
|
|
{
|
|
|
PkgIterator Pkg(Cache,*I);
|
|
PkgIterator Pkg(Cache,*I);
|
|
|
|
|
|
|
@@ -701,7 +701,7 @@ pkgPackageManager::OrderResult pkgPackageManager::OrderInstall()
|
|
|
return Failed;
|
|
return Failed;
|
|
|
|
|
|
|
|
// Sanity check
|
|
// Sanity check
|
|
|
- for (pkgOrderList::iterator I = List->begin(); I != List->end(); I++)
|
|
|
|
|
|
|
+ for (pkgOrderList::iterator I = List->begin(); I != List->end(); ++I)
|
|
|
{
|
|
{
|
|
|
if (List->IsFlag(*I,pkgOrderList::Configured) == false)
|
|
if (List->IsFlag(*I,pkgOrderList::Configured) == false)
|
|
|
{
|
|
{
|