Date: Friday, February 23, 2007 @ 03:00:09 Author: aaron Path: /home/cvs-pacman/pacman-lib/lib/libalpm Modified: package.c (1.76 -> 1.77) * The info level for this was wrong, causing replacements to not really work -----------+ package.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: pacman-lib/lib/libalpm/package.c diff -u pacman-lib/lib/libalpm/package.c:1.76 pacman-lib/lib/libalpm/package.c:1.77 --- pacman-lib/lib/libalpm/package.c:1.76 Fri Feb 23 02:53:25 2007 +++ pacman-lib/lib/libalpm/package.c Fri Feb 23 03:00:06 2007 @@ -861,8 +861,8 @@ ASSERT(handle != NULL, return(NULL)); ASSERT(pkg != NULL, return(NULL)); - if(pkg->origin == PKG_FROM_CACHE && !(pkg->infolevel & INFRQ_DEPENDS)) { - _alpm_db_read(pkg->data, pkg, INFRQ_DEPENDS); + if(pkg->origin == PKG_FROM_CACHE && !(pkg->infolevel & INFRQ_DESC)) { + _alpm_db_read(pkg->data, pkg, INFRQ_DESC); } return pkg->replaces; }