pacman/lib/libalpm
Chantry Xavier 0ff02995f1 libalpm/package.c : fix requiredby with multiple providers.
The code didn't match the following comment :
"A depends on B through n depends <=> A listed in B's requiredby n times"

It stopped at n=1 with a break.

I was surprised to see this case happens in real, that's how I noticed the
bug: wine depends on both freeglut and glut, while freeglut provides glut.

So when installing wine, the update_depends function listed wine twice in
freeglut's requiredby.  But the compute_requiredby function (used when
installing freeglut, and used by testdb) listed wine only once in
freeglut's requiredby.  That made testdb unhappy.

Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-18 12:32:10 -05:00
..
po libalpm: remove outdated files from POTFILES.in 2007-09-04 07:12:57 -05:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
Makefile.am Update usage of gcc __attribute__ flags 2007-10-08 20:46:56 -05:00
add.c Support for localized times in metadata 2007-09-28 00:25:57 -05:00
add.h Preliminary checkin for alpm_list conversion 2007-01-19 09:28:44 +00:00
alpm.c libalpm/db.c : add alpm_db_unregister_all. 2007-08-16 11:08:17 -04:00
alpm.h Updates to fix Doxygen documentation generation 2007-10-14 17:29:32 -05: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 Updates to fix Doxygen documentation generation 2007-10-14 17:29:32 -05: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 libalpm/be_files: Fix outdated code setting path for lastupdate file 2007-09-28 23:27:14 -05:00
cache.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
cache.h Big commit this time: 2007-03-03 08:13:59 +00:00
conflict.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26: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 Add gcc format attribute to _alpm_log, catch a few bugs in the process 2007-10-08 21:25:52 -05:00
db.h Remove the DB consistency check from pacman and libalpm. 2007-09-16 20:10:18 -05:00
deps.c libalpm/deps.c: fix memleak found by valgrind 2007-09-28 23:27:14 -05:00
deps.h libalpm/deps.c : cleanup + little fix for resolvedeps. 2007-07-15 10:37:38 -04:00
error.c make alpm_strerror binding friendly 2007-09-11 20:58:27 -05:00
error.h make alpm_strerror binding friendly 2007-09-11 20:58:27 -05:00
group.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
group.h Remove FREEGRP macro and correctly type _alpm_grp_free 2007-04-27 20:38:54 -04:00
handle.c Avoid segfaults whet calling alpm_option_get_* before initialization 2007-09-17 21:59:02 -05: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 Add gcc format attribute to _alpm_log, catch a few bugs in the process 2007-10-08 21:25:52 -05:00
md5.c libalpm: Optimize/inline the md5 functionality 2007-09-28 23:27:14 -05:00
md5.h Updates to fix Doxygen documentation generation 2007-10-14 17:29:32 -05:00
package.c libalpm/package.c : fix requiredby with multiple providers. 2007-10-18 12:32:10 -05:00
package.h Support for localized times in metadata 2007-09-28 00:25:57 -05: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 Add gcc format attribute to _alpm_log, catch a few bugs in the process 2007-10-08 21:25:52 -05:00
remove.h Preliminary checkin for alpm_list conversion 2007-01-19 09:28:44 +00:00
server.c Update comments dealing with pkgext/dbext stripping 2007-09-28 00:16:43 -05:00
server.h Fix for FS 6404 and functionalize some cachedir handling stuff 2007-08-20 15:23:46 -04:00
sync.c Add gcc format attribute to _alpm_log, catch a few bugs in the process 2007-10-08 21:25:52 -05:00
sync.h Remove FREESYNC macro and correctly type _alpm_sync_free 2007-04-27 14:53:01 -04:00
trans.c libalpm/trans.c : fix a recently introduced breakage in scriptlets handling. 2007-10-14 18:47:19 -05:00
trans.h Fix some errors spit out by -Wextra 2007-08-16 16:19:06 -04:00
util.c alpm: removed unused strtoupper wrapper, remove installeddate on parse_descfile 2007-09-23 12:20:48 -05:00
util.h Update usage of gcc __attribute__ flags 2007-10-08 20:46:56 -05:00