summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-04-24 13:14:50 +0200
committerAurelien Foret <aurelien@archlinux.org>2005-04-24 13:14:50 +0200
commitbcd41a4a3d288387ac4eed76a290bc753ad1f489 (patch)
tree675bc9c1073d542bc013b7a17edd29cf37eb8291 /lib/libalpm
parente1c7d79ecb84f500c5dfbb4d4bd4f9885e9bb783 (diff)
downloadpacman-bcd41a4a3d288387ac4eed76a290bc753ad1f489.tar.gz
pacman-bcd41a4a3d288387ac4eed76a290bc753ad1f489.tar.xz
removed deprecated comments in add_commit()
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/add.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index 12546c8e..e3efbd1c 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -97,8 +97,6 @@ int add_loadtarget(pmtrans_t *trans, pmdb_t *db, char *name)
/* check if an older version of said package is already in transaction packages.
* if so, replace it in the list */
- /* ORE
- we'd better do it before load_pkg. */
for(j = trans->packages; j; j = j->next) {
pmpkg_t *pkg = j->data;
@@ -386,14 +384,9 @@ int add_commit(pmtrans_t *trans, pmdb_t *db)
continue;
}
- /* ORE
- same thing here: we should browse the cache instead of using db_scan */
depinfo = db_get_pkgfromcache(db, depend.name);
if(depinfo == NULL) {
/* look for a provides package */
- /* ORE
- _alpm_db_whatprovides() should return a list of pointer to pkg from the
- cache, thus eliminating the need for db_scan(DEPENDS) */
PMList *provides = _alpm_db_whatprovides(db, depend.name);
if(provides) {
/* TODO: should check _all_ packages listed in provides, not just