[pacman-dev] Please use _alpm_depcmp!
Nagy Gabor
ngaba at petra.hos.u-szeged.hu
Sun Apr 1 18:09:52 EDT 2007
Hi!
We have this nice function, but it is very rarely used in libalpm
source. In most cases it is reimplemented (see
trans.c/_alpm_trans_update_depends for example); but there is a bigger
problem: in many cases only a package-name comparison is used to check
dependencies, which may lead problems (I concerned about this in my
previous mails:
http://archlinux.org/pipermail/pacman-dev/2007-March/002155.html for
example).
So the whole source should be checked, and this would lead to
a much cleaner and more bug-free code.
Bye, Nagy Gabor
More information about the pacman-dev
mailing list