_alpm_checkconflicts splitmaster
commit72f40b3876263f7a8dcda1390026f43f599f8823
authorNagy Gabor <ngaba@bibl.u-szeged.hu>
Tue, 20 Nov 2007 08:57:38 +0000 (20 09:57 +0100)
committerDan McGee <dan@archlinux.org>
Sun, 25 Nov 2007 22:14:16 +0000 (25 16:14 -0600)
treea595b8061ef2c44b56c71479e323ca7bef65f070
parentd683033d3ea79956faf8786f784ce2e271179892
_alpm_checkconflicts split

_alpm_innerconflicts: check for target<->target conflicts
_alpm_outerconflicts: check for target<->localpkg conflicts
This will be useful in sync.c clean-up and in testdb.c

As an application the patch also fixes a misleading message (and a memleak)
in add.c

Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/add.c
lib/libalpm/conflict.c
lib/libalpm/conflict.h