1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-03-03 02:41:53 -05:00
Chantry Xavier b2914bf0af Move the deptest code from frontend to backend.
The deptest code (pacman -T) used by makepkg was mostly in the frontend.
There were 2 drawbacks:
1) the public splitdep function returns a pmdepend_t struct, but the
_alpm_dep_free function for freeing it is private. So there was a memleak.
2) there is a helper in the backend (satisfycmp in deps.c) which makes this
function much easier.

So this adds a new public alpm_deptest in libalpm/deps.c, which cleans
pacman_deptest in pacman/deptest.c a lot.
Besides, alpm_splitdep was made private, because the frontend no longer
requires it, and _alpm_dep_free is also private.
Finally the deptest001 pactest was extended.

Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2008-01-21 19:35:43 -06:00
..
2007-04-16 20:34:57 -05:00
2007-04-16 20:34:57 -05:00
2007-04-16 20:34:57 -05:00
2008-01-11 23:19:08 -06:00
2007-04-04 19:24:02 -05:00
2007-06-10 17:41:35 -04:00
2007-06-11 11:21:19 +02:00
2007-07-10 11:10:54 -04:00
2007-07-10 11:10:54 -04:00
2007-06-12 16:19:50 -04:00
2007-11-11 10:52:51 -06:00
2007-11-11 10:52:51 -06:00
2007-11-11 09:51:09 -06:00
2007-07-15 19:46:18 -04:00
2007-07-15 12:46:02 -04:00
2007-11-13 00:13:04 -06:00
2007-06-10 20:14:20 -04:00
2007-06-10 20:14:20 -04:00
2007-03-21 22:15:50 +00:00
2007-07-20 10:33:42 -04:00
2007-08-20 15:24:28 -04:00
2007-10-08 20:46:55 -05:00
2007-12-01 11:29:41 -06:00
2007-12-01 11:29:41 -06:00
2007-11-14 18:49:02 -06:00
2008-01-05 13:47:49 -06:00
2007-07-15 12:46:02 -04:00
2008-01-05 16:49:09 -06:00