poldek: poldek/pkgset-req.c - SIGSEV killed (pkg may be NULL)
mis
mis at pld-linux.org
Sat Jul 8 19:41:34 CEST 2006
Author: mis Date: Sat Jul 8 17:41:34 2006 GMT
Module: poldek Tag: HEAD
---- Log message:
- SIGSEV killed (pkg may be NULL)
---- Files affected:
poldek/poldek:
pkgset-req.c (1.40 -> 1.41)
---- Diffs:
================================================================
Index: poldek/poldek/pkgset-req.c
diff -u poldek/poldek/pkgset-req.c:1.40 poldek/poldek/pkgset-req.c:1.41
--- poldek/poldek/pkgset-req.c:1.40 Thu Oct 20 19:27:27 2005
+++ poldek/poldek/pkgset-req.c Sat Jul 8 19:41:29 2006
@@ -407,7 +407,7 @@
return nmatch;
}
-
+/* find packages satisfies req and (optionally) best fitted to pkg */
int psreq_find_match_packages(struct pkgset *ps,
const struct pkg *pkg, struct capreq *req,
struct pkg ***packages, int *npackages,
@@ -431,7 +431,7 @@
found = 0;
- if (poldek_conf_MULTILIB) {
+ if (poldek_conf_MULTILIB && pkg) {
struct pkg **tmp = alloca(sizeof(*tmp) * nsuspkgs);
int i, j = 0;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/poldek/poldek/pkgset-req.c?r1=1.40&r2=1.41&f=u
More information about the pld-cvs-commit
mailing list