summaryrefslogtreecommitdiff
path: root/lib/libalpm/cache.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-11-01 06:30:47 +0000
committerAaron Griffin <aaron@archlinux.org>2006-11-01 06:30:47 +0000
commit3bf918dc4ea14f1adb93c32aaa54118164b33dd1 (patch)
tree4054a42c20084109378e4512ea46e616096ab030 /lib/libalpm/cache.c
parent48ee3c4434efad0796521384661dc405cdd3db66 (diff)
downloadpacman-3bf918dc4ea14f1adb93c32aaa54118164b33dd1.tar.xz
Fixed pacman -U:
* Accidental database read of a file-based package (whoops) * Proper fetching of url-based -U or -A Removed some newlines from _alpm_log calls, to make debug output more concise
Diffstat (limited to 'lib/libalpm/cache.c')
-rw-r--r--lib/libalpm/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c
index b488d5be..ccba3bd6 100644
--- a/lib/libalpm/cache.c
+++ b/lib/libalpm/cache.c
@@ -60,7 +60,7 @@ int _alpm_db_load_pkgcache(pmdb_t *db, unsigned char infolevel)
while((info = _alpm_db_scan(db, NULL, infolevel)) != NULL) {
info->origin = PKG_FROM_CACHE;
info->data = db;
- /* add to the collective */
+ /* add to the collection */
db->pkgcache = _alpm_list_add_sorted(db->pkgcache, info, _alpm_pkg_cmp);
}