poldek: poldek/pkgset-load.c - no packages is success also

mis mis at pld-linux.org
Tue Jan 22 18:11:35 CET 2008


Author: mis                          Date: Tue Jan 22 17:11:35 2008 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- no packages is success also

---- Files affected:
poldek/poldek:
   pkgset-load.c (1.58 -> 1.59) 

---- Diffs:

================================================================
Index: poldek/poldek/pkgset-load.c
diff -u poldek/poldek/pkgset-load.c:1.58 poldek/poldek/pkgset-load.c:1.59
--- poldek/poldek/pkgset-load.c:1.58	Tue Jan 22 13:33:47 2008
+++ poldek/poldek/pkgset-load.c	Tue Jan 22 18:11:30 2008
@@ -126,7 +126,6 @@
     return n_array_size(ps->pkgs);
 }
 
-
 int pkgset_add_pkgdir(struct pkgset *ps, struct pkgdir *pkgdir)
 {
     int i;
@@ -146,5 +145,6 @@
         n_array_push(ps->pkgs, pkg_link(pkg));
     }
     n_array_push(ps->pkgdirs, pkgdir);
-    return n_array_size(ps->pkgs);
+
+    return 1;
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/pkgset-load.c?r1=1.58&r2=1.59&f=u



More information about the pld-cvs-commit mailing list