summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/add.c
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-11-18 10:29:55 +0100
committerDan McGee <dan@archlinux.org>2007-11-18 19:42:34 +0100
commit65fb99133df10143e07c237f04777e01b443c037 (patch)
tree8191e73f11366db75d4465f9f52f0e7ddc9fb04f /lib/libalpm/add.c
parent829a7b904dcb56aa17cd9279f29385dad2814793 (diff)
downloadpacman-65fb99133df10143e07c237f04777e01b443c037.tar.gz
pacman-65fb99133df10143e07c237f04777e01b443c037.tar.xz
Simple s/conflict/fileconflict/ renaming.
The names related to conflicts are misleading : For dependencies conflicts, the type is pmdepmissing, and the function names contain just "conflict". For file conflicts, the type is pmconflict, and some functions contained just "conflict", some others "fileconflict". So this is the first step for improving the situation. Original idea/patch from Nagy, but the patch already didn't apply anymore, so I did it again. The main difference is that I kept the conflictype, with the following renaming : pmconflicttype_t -> pmfileconflicttype_t PM_CONFLICT_TYPE_TARGET -> PM_FILECONFLICT_TARGET PM_CONFLICT_TYPE_FILE -> PM_FILECONFLICT_FILESYSTEM Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm/add.c')
-rw-r--r--lib/libalpm/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index f6bab199..fbdf4ea4 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -221,7 +221,7 @@ int _alpm_add_prepare(pmtrans_t *trans, pmdb_t *db, alpm_list_t **data)
EVENT(trans, PM_TRANS_EVT_FILECONFLICTS_START, NULL, NULL);
_alpm_log(PM_LOG_DEBUG, "looking for file conflicts\n");
- lp = _alpm_db_find_conflicts(db, trans, handle->root);
+ lp = _alpm_db_find_fileconflicts(db, trans, handle->root);
if(lp != NULL) {
if(data) {
*data = lp;