Date: Friday, February 16, 2007 @ 17:41:51 Author: dan Path: /home/cvs-pacman/pacman-lib/lib/libalpm Modified: alpm_list.h (1.4 -> 1.5) deps.c (1.65 -> 1.66) * Removed unnecessary #define * Added comment for something I noticed while looking through code -------------+ alpm_list.h | 1 - deps.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) Index: pacman-lib/lib/libalpm/alpm_list.h diff -u pacman-lib/lib/libalpm/alpm_list.h:1.4 pacman-lib/lib/libalpm/alpm_list.h:1.5 --- pacman-lib/lib/libalpm/alpm_list.h:1.4 Tue Feb 13 03:15:38 2007 +++ pacman-lib/lib/libalpm/alpm_list.h Fri Feb 16 17:41:51 2007 @@ -60,7 +60,6 @@ alpm_list_t *alpm_list_next(alpm_list_t *list); alpm_list_t *alpm_list_last(alpm_list_t *list); void *alpm_list_getdata(const alpm_list_t *entry); -#define alpm_list_data(type, list) (type)alpm_list_getdata((list)) /* misc */ int alpm_list_count(const alpm_list_t *list); Index: pacman-lib/lib/libalpm/deps.c diff -u pacman-lib/lib/libalpm/deps.c:1.65 pacman-lib/lib/libalpm/deps.c:1.66 --- pacman-lib/lib/libalpm/deps.c:1.65 Wed Jan 31 02:14:50 2007 +++ pacman-lib/lib/libalpm/deps.c Fri Feb 16 17:41:51 2007 @@ -138,6 +138,7 @@ for(i = newtargs; i; i = i->next) { pmpkg_t *p = (pmpkg_t*)i->data; _alpm_log(PM_LOG_DEBUG, "sorting %s", p->name); + /* TODO this may not always work if p->data is a fd, not db */ _alpm_db_read(p->data, INFRQ_DEPENDS, p); for(j = p->depends; j; j = j->next) { pmdepend_t dep;