summaryrefslogtreecommitdiffstats
path: root/src/pacman/deptest.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-13 22:02:33 +0100
committerAurelien Foret <aurelien@archlinux.org>2006-01-13 22:02:33 +0100
commite3cc4150f6ccf915aaa60418b520832deb9c49d9 (patch)
tree3eb6c6d5daf7ed9087776a341fddf96e4d8db80c /src/pacman/deptest.c
parent4232cd9ccac21833160d7391bae9f76276f4383c (diff)
downloadpacman-e3cc4150f6ccf915aaa60418b520832deb9c49d9.tar.gz
pacman-e3cc4150f6ccf915aaa60418b520832deb9c49d9.tar.xz
added a missing commentary from pacman 2.9.x code
Diffstat (limited to 'src/pacman/deptest.c')
-rw-r--r--src/pacman/deptest.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pacman/deptest.c b/src/pacman/deptest.c
index de7e83ec..ebd18f3b 100644
--- a/src/pacman/deptest.c
+++ b/src/pacman/deptest.c
@@ -95,7 +95,11 @@ int pacman_deptest(list_t *targets)
PM_LIST *lp;
int ret = 126;
list_t *synctargs = NULL;
-
+ /* return 126 = deps were missing, but successfully resolved
+ * return 127 = deps were missing, and failed to resolve; OR
+ * = deps were missing, but no resolution was attempted; OR
+ * = unresolvable conflicts were found
+ */
switch(pm_errno) {
case PM_ERR_UNSATISFIED_DEPS:
for(lp = alpm_list_first(data); lp; lp = alpm_list_next(lp)) {