Fix bugs in conflicts detection algorithm.
modified libpkg/pkg_repo.c
@@ -206,7 +206,7 @@ pkg_repo_new_conflict(const char *name, const char *origin,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -218,7 +218,7 @@ pkg_repo_insert_conflict(const char *file, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -234,6 +234,7 @@ pkg_repo_insert_conflict(const char *file, struct pkg *pkg,
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -242,7 +243,8 @@ pkg_repo_insert_conflict(const char *file, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -271,7 +273,7 @@ pkg_repo_insert_conflict(const char *file, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -375,12 +377,13 @@ pkg_repo_write_conflicts (struct pkg_conflict_bulk *bulk, FILE *out)
|
|
|
|
|
|
| - | |
|
|
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -573,7 +576,7 @@ pkg_create_repo(char *path, bool force, bool filelist,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|