libxbps: improve code to match replaced package patterns.
The replaces code now checks all package dictionaries in the transaction dictionary, and the sorting algorithm will put packages to be removed at the head of the tailq. This should fix issue 11 in googlecode.
This commit is contained in:
1 parent
eae6bf8ab4
commit
51b45a0d08
9 files changed
+182
-179
No files matched your search
@@ -172,10 +172,9 @@ int HIDDEN xbps_file_chdir_exec(const char *, const char *, ...);
|
||||
|
||||
/**
|
||||
* @private
|
||||
* From lib/package_replaces.c
|
||||
* From lib/transaction_package_replace.c
|
||||
*/
|
||||
int HIDDEN xbps_repository_pkg_replaces(prop_dictionary_t,
|
||||
prop_dictionary_t);
|
||||
int HIDDEN xbps_transaction_package_replace(prop_dictionary_t);
|
||||
|
||||
/**
|
||||
* @private
|
||||
|
||||
Reference in new issue
Block a user