1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 00:08:50 -05:00
pacman/lib/libalpm
Nagy Gabor 2aa7e69da9 Add the pmconflict_t type.
pmdepmissing_t was used for two totally different things :
missing dependencies, and dependency conflicts.
So this patch simply adds a type for dep conflicts,
and convert the code to use it.

This fix the TODO in conflict.c :
/* TODO WTF is a 'depmissing' doing indicating a conflict? */

Additionally, the code in conflict.c now eliminates the duplicated conflicts.
If pkg1 conflicts with pkg2, and pkg2 conflicts with pkg1, only one of them will be stored.

However the conflict handling in sync_prepare (sync.c) is still very asymetrical, and very ugly too.
This should be improved in the future (there is already a pending patch from Nagy that cleans it a lot).

Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
2007-11-18 12:42:39 -06:00
..
po Remove provide.c and provide.h . 2007-11-17 09:50:05 -06:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c Add the pmconflict_t type. 2007-11-18 12:42:39 -06:00
add.h War on whitespace 2007-11-16 20:18:45 -06:00
alpm_list.c Generalized alpm_list_find. 2007-11-17 09:44:48 -06:00
alpm_list.h Generalized alpm_list_find. 2007-11-17 09:44:48 -06:00
alpm.c War on whitespace 2007-11-16 20:18:45 -06:00
alpm.h Add the pmconflict_t type. 2007-11-18 12:42:39 -06:00
backup.c War on whitespace 2007-11-16 20:18:45 -06:00
backup.h War on whitespace 2007-11-16 20:18:45 -06:00
be_files.c War on whitespace 2007-11-16 20:18:45 -06:00
cache.c War on whitespace 2007-11-16 20:18:45 -06:00
cache.h War on whitespace 2007-11-16 20:18:45 -06:00
conflict.c Add the pmconflict_t type. 2007-11-18 12:42:39 -06:00
conflict.h Add the pmconflict_t type. 2007-11-18 12:42:39 -06:00
db.c Remove the IgnorePkg handling from alpm_pkg_compare_version. 2007-11-18 12:37:16 -06:00
db.h Remove provide.c and provide.h . 2007-11-17 09:50:05 -06:00
delta.c Generalized alpm_list_find. 2007-11-17 09:44:48 -06:00
delta.h War on whitespace 2007-11-16 20:18:45 -06:00
deps.c Add the pmconflict_t type. 2007-11-18 12:42:39 -06:00
deps.h Add the pmconflict_t type. 2007-11-18 12:42:39 -06:00
error.c War on whitespace 2007-11-16 20:18:45 -06:00
error.h War on whitespace 2007-11-16 20:18:45 -06:00
group.c libalpm: introduce MALLOC and CALLOC macros 2007-10-29 01:00:52 -05:00
group.h War on whitespace 2007-11-16 20:18:45 -06:00
handle.c War on whitespace 2007-11-16 20:18:45 -06:00
handle.h War on whitespace 2007-11-16 20:18:45 -06:00
log.c War on whitespace 2007-11-16 20:18:45 -06:00
log.h War on whitespace 2007-11-16 20:18:45 -06:00
Makefile.am Remove provide.c and provide.h . 2007-11-17 09:50:05 -06:00
md5.c War on whitespace 2007-11-16 20:18:45 -06:00
md5.h Updates to fix Doxygen documentation generation 2007-10-14 17:29:32 -05:00
package.c Remove the IgnorePkg handling from alpm_pkg_compare_version. 2007-11-18 12:37:16 -06:00
package.h War on whitespace 2007-11-16 20:18:45 -06:00
remove.c Simple s/conflict/fileconflict/ renaming. 2007-11-18 12:42:34 -06:00
remove.h War on whitespace 2007-11-16 20:18:45 -06:00
server.c War on whitespace 2007-11-16 20:18:45 -06:00
server.h War on whitespace 2007-11-16 20:18:45 -06:00
sync.c Add the pmconflict_t type. 2007-11-18 12:42:39 -06:00
sync.h War on whitespace 2007-11-16 20:18:45 -06:00
trans.c POSIX shell does not specify meaning of source operation 2007-11-18 12:37:29 -06:00
trans.h War on whitespace 2007-11-16 20:18:45 -06:00
util.c War on whitespace 2007-11-16 20:18:45 -06:00
util.h War on whitespace 2007-11-16 20:18:45 -06:00