1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-10 03:25:01 -05:00
pacman/lib/libalpm
Nagy Gabor b1808930ce libalpm/add.c,trans.c : cleanup of requiredby handling.
This patch cleans up and fix the _alpm_trans_update_depends function
and ensure that all requiredby fields are filled in case of multiple satisfiers
(previously, the handling of mutliple satisfiers in that function was inconsistent).

This makes a special case handling of requiredby in commit_single_pkg() obsolete,
and so allows cleaning that code as well.

Also fixed upgrade056 pactest because :
1) the requiredby fields were wrong, and this wouldn't happen with the fixed _alpm_trans_update_depends().
2) this is a very unusual case anyway (and handling all corner cases combined to a broken database
  seems nearly impossible to achieve).

References :
http://www.archlinux.org/pipermail/pacman-dev/2007-July/008919.html
http://www.archlinux.org/pipermail/pacman-dev/2007-July/008920.html

Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
2007-08-20 15:23:53 -04:00
..
po Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c libalpm/add.c,trans.c : cleanup of requiredby handling. 2007-08-20 15:23:53 -04:00
add.h Preliminary checkin for alpm_list conversion 2007-01-19 09:28:44 +00:00
alpm_list.c libalpm/alpm_list.c : add SYMEXPORT to all alpm_list_ functions. 2007-07-20 10:28:07 -04:00
alpm_list.h Const correctness! 2007-06-05 17:34:33 -04:00
alpm.c libalpm/db.c : add alpm_db_unregister_all. 2007-08-16 11:08:17 -04:00
alpm.h Add const qualifier to md5_file and alpm_get_md5sum 2007-08-20 12:58:17 -04:00
backup.c Remove support for SHA1 from pacman. 2007-08-16 11:30:38 -04:00
backup.h Const correctness! 2007-06-05 17:34:33 -04:00
be_files.c Remove support for SHA1 from pacman. 2007-08-16 11:30:38 -04:00
cache.c package.h: implement origin_data union in pmpkg_t struct 2007-08-14 10:14:35 -04:00
cache.h Big commit this time: 2007-03-03 08:13:59 +00:00
conflict.c Code cleanup 2007-08-14 09:33:55 -04:00
conflict.h This commit looks much more monumental than it is. Almost all just #include 2007-03-05 22:13:33 +00:00
db.c libalpm/db.c : add alpm_db_unregister_all. 2007-08-16 11:08:17 -04:00
db.h libalpm/db.c : add alpm_db_unregister_all. 2007-08-16 11:08:17 -04:00
deps.c libalpm/deps.c : split alpm_depcmp. 2007-07-17 10:10:27 -04:00
deps.h libalpm/deps.c : cleanup + little fix for resolvedeps. 2007-07-15 10:37:38 -04:00
error.c Remove some more diskspace checking holdover stuff 2007-06-13 00:31:01 -04:00
error.h Remove gettext calls from all PM_LOG_DEBUG messages 2007-07-10 14:24:58 -04:00
group.c Const correctness! 2007-06-05 17:34:33 -04:00
group.h Remove FREEGRP macro and correctly type _alpm_grp_free 2007-04-27 20:38:54 -04:00
handle.c Fix issue with <dbpath>/db.lck being truncated 2007-07-10 14:31:39 -04:00
handle.h Clean up the alpm handle 2007-07-09 15:23:26 -04:00
log.c Clean up the alpm handle 2007-07-09 15:23:26 -04:00
log.h Remove logmask stuff from backend; switch logging callback to new pm_printf 2007-06-09 12:57:50 -04:00
Makefile.am Clean up MD5 code. 2007-08-16 13:17:33 -04:00
md5.c Add const qualifier to md5_file and alpm_get_md5sum 2007-08-20 12:58:17 -04:00
md5.h Add const qualifier to md5_file and alpm_get_md5sum 2007-08-20 12:58:17 -04:00
package.c libalpm/add.c,trans.c : cleanup of requiredby handling. 2007-08-20 15:23:53 -04:00
package.h Remove support for SHA1 from pacman. 2007-08-16 11:30:38 -04:00
provide.c This commit looks much more monumental than it is. Almost all just #include 2007-03-05 22:13:33 +00:00
provide.h * Enforce const char* params when using strings 2007-02-26 08:38:48 +00:00
remove.c Fix some errors spit out by -Wextra 2007-08-16 16:19:06 -04:00
remove.h Preliminary checkin for alpm_list conversion 2007-01-19 09:28:44 +00:00
server.c Fix for FS 6404 and functionalize some cachedir handling stuff 2007-08-20 15:23:46 -04:00
server.h Fix for FS 6404 and functionalize some cachedir handling stuff 2007-08-20 15:23:46 -04:00
sync.c Fix for FS 6404 and functionalize some cachedir handling stuff 2007-08-20 15:23:46 -04:00
sync.h Remove FREESYNC macro and correctly type _alpm_sync_free 2007-04-27 14:53:01 -04:00
trans.c libalpm/add.c,trans.c : cleanup of requiredby handling. 2007-08-20 15:23:53 -04:00
trans.h Fix some errors spit out by -Wextra 2007-08-16 16:19:06 -04:00
util.c Fix for FS 6404 and functionalize some cachedir handling stuff 2007-08-20 15:23:46 -04:00
util.h Fix for FS 6404 and functionalize some cachedir handling stuff 2007-08-20 15:23:46 -04:00