diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-28 20:00:29 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-07 02:41:31 -0800 |
commit | f8d15be29e828985c2e114d5ed15ad1b83453af0 (patch) | |
tree | 9c2502a7c5980b44bd72778e14b44a8f068257b3 | |
parent | 72f3f30e29c37b635b2cb11a5827529510df5442 (diff) |
Add explanatory todo comments for state scan.
-rw-r--r-- | MobileCydia.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index d1568d7..0e396e9 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4931,13 +4931,16 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { if (state.NewInstall()) [installs addObject:name]; + // XXX: else if (state.Install()) else if (!state.Delete() && (state.iFlags & pkgDepCache::ReInstall) == pkgDepCache::ReInstall) [reinstalls addObject:name]; + // XXX: move before previous if else if (state.Upgrade()) [upgrades addObject:name]; else if (state.Downgrade()) [downgrades addObject:name]; else if (!state.Delete()) + // XXX: _assert(state.Keep()); continue; else if (special_r(name)) [issues_ addObject:[NSDictionary dictionaryWithObjectsAndKeys: |