poldek: poldek/pkgset-install.c, poldek/pkgset-req.c - bugfixes

mis mis at pld-linux.org
Sun Aug 20 20:29:57 CEST 2006


Author: mis                          Date: Sun Aug 20 18:29:57 2006 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- bugfixes

---- Files affected:
poldek/poldek:
   pkgset-install.c (1.150 -> 1.151) , pkgset-req.c (1.43 -> 1.44) 

---- Diffs:

================================================================
Index: poldek/poldek/pkgset-install.c
diff -u poldek/poldek/pkgset-install.c:1.150 poldek/poldek/pkgset-install.c:1.151
--- poldek/poldek/pkgset-install.c:1.150	Sun Aug 20 20:14:58 2006
+++ poldek/poldek/pkgset-install.c	Sun Aug 20 20:29:52 2006
@@ -505,7 +505,8 @@
     *best_pkg = NULL;
     if (candidates)
         *candidates = NULL;
-    
+
+    nsuspkgs = 1024;            /* size of pkgsbuf */
     found = psreq_lookup(ps, req, &suspkgs, (struct pkg **)pkgsbuf, &nsuspkgs);
         
     if (found && nsuspkgs) {

================================================================
Index: poldek/poldek/pkgset-req.c
diff -u poldek/poldek/pkgset-req.c:1.43 poldek/poldek/pkgset-req.c:1.44
--- poldek/poldek/pkgset-req.c:1.43	Sun Aug 20 20:14:58 2006
+++ poldek/poldek/pkgset-req.c	Sun Aug 20 20:29:52 2006
@@ -431,7 +431,8 @@
     
     if (packages)
         *packages = NULL;
-    
+
+    nsuspkgs = 1024;            /* size of pkgsbuf */
     found = psreq_lookup(ps, req, &suspkgs, (struct pkg **)pkgsbuf, &nsuspkgs);
 
     if (!found)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/poldek/poldek/pkgset-install.c?r1=1.150&r2=1.151&f=u
    http://cvs.pld-linux.org/poldek/poldek/pkgset-req.c?r1=1.43&r2=1.44&f=u



More information about the pld-cvs-commit mailing list