1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-03-03 10:51:47 -05:00
Nagy Gabor 72bc947cbb Fix "-Sd conflict_pkg" bug
If the -d switch was invoked with -S (or -U), the removes list was simply
lost, because trans->remove was computed in an
"if(!(trans->flags & PM_TRANS_FLAG_NODEPS))" block.

I've added a new pactest file, sync045.py (derived from sync043.py) to test
this.

Additionally, I did some other minor cleanups in sync_prepare:
 * preferred list is not needed anymore
 * I removed a needless alpm_list_remove_dupes line (the target list should
   not contain dupes at all)
 * I moved alpm_list_free(remove); to cleanup part to eliminate a possible
   memleak

Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-10-11 15:30:52 -05:00
..
2009-07-20 10:13:25 -05:00
2009-07-20 10:13:25 -05:00
2009-07-20 10:13:25 -05:00
2009-07-20 10:13:42 -05:00
2007-04-16 20:34:57 -05:00
2007-04-16 20:34:57 -05:00
2008-10-12 21:36:30 -05:00
2008-01-11 23:19:08 -06:00
2008-03-10 18:57:36 -05:00
2009-01-12 22:44:00 -06:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2007-07-10 11:10:54 -04:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-03-10 19:16:01 -05:00
2008-03-10 19:16:01 -05:00
2008-07-13 09:14:36 -05:00
2008-10-12 21:29:04 -05:00
2008-10-12 21:29:04 -05:00
2007-11-11 09:51:09 -06:00
2008-07-07 21:14:13 -05:00
2007-07-15 19:46:18 -04:00
2007-07-15 12:46:02 -04:00
2008-01-21 19:39:26 -06:00
2009-09-08 22:03:24 -05:00
2009-09-08 22:03:24 -05:00
2009-09-08 22:03:24 -05:00
2009-10-11 15:30:52 -05:00
2009-07-22 20:16:52 -05:00
2009-05-18 23:11:05 -05:00
2009-09-08 21:45:17 -05:00
2009-10-11 15:12:44 -05:00
2008-05-13 15:49:02 -05:00
2008-07-07 21:14:13 -05:00
2009-09-08 22:03:24 -05:00
2009-09-08 22:03:24 -05:00
2009-09-08 22:03:24 -05:00
2009-09-08 22:03:24 -05:00
2009-09-08 22:03:24 -05:00
2009-09-08 22:03:24 -05:00
2009-09-08 22:03:24 -05:00
2009-09-08 22:03:24 -05:00
2009-09-08 22:03:24 -05:00
2009-09-08 22:03:24 -05:00
2009-09-08 22:03:24 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:12:55 -05:00
2009-09-08 22:03:24 -05:00
2009-04-11 13:59:55 -05:00
2008-01-05 13:47:49 -06:00
2007-07-15 12:46:02 -04:00
2008-01-21 19:39:26 -06:00
2008-02-11 20:40:43 -06:00
2008-02-11 20:40:43 -06:00
2008-01-05 16:49:09 -06:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00
2008-07-07 21:14:13 -05:00