Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-11-30 23:02:06 -0600
committerDan McGee <dan@archlinux.org>2007-11-30 23:02:06 -0600
commitcff1e2a58ffbf878e03689b52e58d8a830b45aff (patch)
treebdeccda3c7bdb3926e7cc301413e435a44ae0092
parente95e346ac7e189d7facf34d1126b523ef3b87570 (diff)
Remove alpm_depcmp DEBUG output
alpm_depcmp is simple enough that we shouldn't need constant debug logging, and the logging we do have in there negatively impacts our speed regardless of whether we actually are seeing it or not. If it ever needs debugging, it would be trivial to reimplement it by just temporarily reverting this commit. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--lib/libalpm/deps.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index 4c30ad2e..6a699bc2 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -369,10 +369,6 @@ int SYMEXPORT alpm_depcmp(pmpkg_t *pkg, pmdepend_t *dep)
free(provname);
}
- char *depstring = alpm_dep_get_string(dep);
- _alpm_log(PM_LOG_DEBUG, "alpm_depcmp %s-%s %s : %s\n",
- pkgname, pkgversion, depstring, satisfy ? "match" : "no match");
- free(depstring);
return(satisfy);
}