aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2006-07-25 21:50:01 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2006-07-25 21:50:01 +0000
commitd813dd45bfa01b96f20099d9dea8bb6de3ff5dca (patch)
tree6250905d18df98d6e31a8b0fd0eee4353e7665e5 /URPM.xs
parentcf7cbd5edc634fe5aed9070ca2564d5a605b78f5 (diff)
downloadperl-URPM-d813dd45bfa01b96f20099d9dea8bb6de3ff5dca.tar
perl-URPM-d813dd45bfa01b96f20099d9dea8bb6de3ff5dca.tar.gz
perl-URPM-d813dd45bfa01b96f20099d9dea8bb6de3ff5dca.tar.bz2
perl-URPM-d813dd45bfa01b96f20099d9dea8bb6de3ff5dca.tar.xz
perl-URPM-d813dd45bfa01b96f20099d9dea8bb6de3ff5dca.zip
- add comment into code, need review
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs5
1 files changed, 5 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index d590a6a..d7d9466 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1736,6 +1736,11 @@ Pkg_compare_pkg(lpkg, rpkg)
if (eorarch) *eorarch = 0; rscore = rpmMachineScore(RPM_MACHTABLE_INSTARCH, rarch);
if (lscore == 0) {
if (rscore == 0)
+#if 0
+ /* Nanar: TODO check this
+ * hu ?? what is the goal of strcmp, some of arch are equivalent */
+ compare = 0
+#endif
compare = strcmp(larch, rarch);
else
compare = -1;