poldek: poldek/lib_init.c, poldek/misc.c, poldek/misc.h, poldek/pk...

mis mis at pld-linux.org
Mon Jul 2 18:39:27 CEST 2007


Author: mis                          Date: Mon Jul  2 16:39:27 2007 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- dirindex: bugfix (wrong assertion), index consistency tests, cleanup
- replaced getenv()s with poldek__is_in_testing_mode()

---- Files affected:
poldek/poldek:
   lib_init.c (1.82 -> 1.83) , misc.c (1.58 -> 1.59) , misc.h (1.37 -> 1.38) , pkg.c (1.116 -> 1.117) , pkgset.c (1.95 -> 1.96) 
poldek/poldek/pkgdir:
   pkgdir.c (1.49 -> 1.50) , pkgdir.h (1.37 -> 1.38) , pkgdir_dirindex.c (1.15 -> 1.16) , pkgdir_dirindex.h (1.3 -> 1.4) 
poldek/poldek/pkgdir/pdir:
   save.c (1.20 -> 1.21) 
poldek/poldek/pkgdir/pndir:
   save.c (1.33 -> 1.34) 
poldek/poldek/tests/sh:
   03-up-loop (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: poldek/poldek/lib_init.c
diff -u poldek/poldek/lib_init.c:1.82 poldek/poldek/lib_init.c:1.83
--- poldek/poldek/lib_init.c:1.82	Sun Jul  1 23:04:26 2007
+++ poldek/poldek/lib_init.c	Mon Jul  2 18:39:22 2007
@@ -1294,7 +1294,7 @@
     vfile_configure(VFILE_CONF_VERBOSE, &poldek_VERBOSE);
     vfile_configure(VFILE_CONF_LOGCB, poldek_vf_vlog_cb);
 
-    if (getenv("POLDEK_TESTING")) {
+    if (poldek__is_in_testing_mode()) {
         const char *path = getenv("POLDEK_TESTING_PRELOAD_CONF");
         if (path && !preload_conf(path))
             n_die("%s: not preloaded", path);
@@ -1431,7 +1431,7 @@
 
     path = util__setup_cachedir(ctx->ts->cachedir);
     
-    if (poldek_VERBOSE > 0 && getenv("POLDEK_TESTING")) {
+    if (poldek_VERBOSE > 0 && poldek__is_in_testing_mode()) {
         if (ctx->ts->cachedir && path && n_str_eq(ctx->ts->cachedir, path))
             msgn(1, "cachedir: %s", path);
         else

================================================================
Index: poldek/poldek/misc.c
diff -u poldek/poldek/misc.c:1.58 poldek/poldek/misc.c:1.59
--- poldek/poldek/misc.c:1.58	Sun Jul  1 23:04:26 2007
+++ poldek/poldek/misc.c	Mon Jul  2 18:39:22 2007
@@ -137,7 +137,7 @@
 
     if ((pw = getpwuid(getuid()))) { /* use $HOME/.poldek-cache if exists */
         char *d = pw->pw_dir;
-        if (getenv("POLDEK_TESTING"))
+        if (poldek__is_in_testing_mode())
             d = getenv("HOME");
         
         if (d) {
@@ -175,7 +175,7 @@
     
     if (pw) {                     /* try $HOME */
         char *d = pw->pw_dir;
-        if (getenv("POLDEK_TESTING"))
+        if (poldek__is_in_testing_mode())
             d = getenv("HOME");
             
         if (d && poldek_util_is_rwxdir(d) && util__mksubdir(d, cachedn)) {
@@ -720,3 +720,9 @@
     buf[sizeof(buf)-1] = '\0';
     return n_strdup(buf);
 }
+
+int poldek__is_in_testing_mode(void) 
+{
+    return getenv("POLDEK_TESTING") != NULL;
+}
+

================================================================
Index: poldek/poldek/misc.h
diff -u poldek/poldek/misc.h:1.37 poldek/poldek/misc.h:1.38
--- poldek/poldek/misc.h:1.37	Sun Jul  1 23:04:26 2007
+++ poldek/poldek/misc.h	Mon Jul  2 18:39:22 2007
@@ -53,6 +53,8 @@
 
 char *poldek__conf_path(char *s, char *v);
 
+int poldek__is_in_testing_mode(void);
+
 #include "poldek_util.h"
 const char *lc_messages_lang(void);
 

================================================================
Index: poldek/poldek/pkg.c
diff -u poldek/poldek/pkg.c:1.116 poldek/poldek/pkg.c:1.117
--- poldek/poldek/pkg.c:1.116	Sat Jun 30 14:01:43 2007
+++ poldek/poldek/pkg.c	Mon Jul  2 18:39:22 2007
@@ -739,7 +739,7 @@
     n_snprintf(path, sizeof(path), "%s%s/%s", *dirname != '/' ? "/" : "",
                dirname, basename);
     
-    return pkgdir_dirindex_pkg_has_path(pkg->pkgdir->dirindex, pkg, path);
+    return pkgdir_dirindex_pkg_has_path(pkg->pkgdir, pkg, path);
 }
     
 int pkg_has_path(const struct pkg *pkg,
@@ -965,7 +965,7 @@
 tn_array *pkg_required_dirs(const struct pkg *pkg) 
 {
     if (pkg->pkgdir && pkg->pkgdir->dirindex)
-        return pkgdir_dirindex_get_reqdirs(pkg->pkgdir->dirindex, pkg);
+        return pkgdir_dirindex_get_reqdirs(pkg->pkgdir, pkg);
     return NULL;
 }
 

================================================================
Index: poldek/poldek/pkgset.c
diff -u poldek/poldek/pkgset.c:1.95 poldek/poldek/pkgset.c:1.96
--- poldek/poldek/pkgset.c:1.95	Sun Jul  1 23:04:26 2007
+++ poldek/poldek/pkgset.c	Mon Jul  2 18:39:22 2007
@@ -515,7 +515,7 @@
         if (pkgdir->dirindex == NULL)
             continue;
 
-        pkgdir_dirindex_get(pkgdir->dirindex, tmp, dir);
+        pkgdir_dirindex_get(pkgdir, tmp, dir);
     }
 
     if (pkgs == NULL) {

================================================================
Index: poldek/poldek/pkgdir/pkgdir.c
diff -u poldek/poldek/pkgdir/pkgdir.c:1.49 poldek/poldek/pkgdir/pkgdir.c:1.50
--- poldek/poldek/pkgdir/pkgdir.c:1.49	Sun Jun 24 13:48:07 2007
+++ poldek/poldek/pkgdir/pkgdir.c	Mon Jul  2 18:39:22 2007
@@ -554,7 +554,7 @@
         pkgdir_free(pkgdir->prev_pkgdir);
 
     if (pkgdir->dirindex)
-        pkgdir_dirindex_close(pkgdir->dirindex);
+        pkgdir__dirindex_close(pkgdir->dirindex);
     
     memset(pkgdir, 0, sizeof(*pkgdir));
     free(pkgdir);
@@ -576,7 +576,7 @@
     if (n_array_size(pkgdir->pkgs) == 0)
         return;
     
-    pkgdir->dirindex = pkgdir_dirindex_open(pkgdir);
+    pkgdir->dirindex = pkgdir__dirindex_open(pkgdir);
 }
 
 

================================================================
Index: poldek/poldek/pkgdir/pkgdir.h
diff -u poldek/poldek/pkgdir/pkgdir.h:1.37 poldek/poldek/pkgdir/pkgdir.h:1.38
--- poldek/poldek/pkgdir/pkgdir.h:1.37	Sun Jun 24 13:48:07 2007
+++ poldek/poldek/pkgdir/pkgdir.h	Mon Jul  2 18:39:22 2007
@@ -24,23 +24,6 @@
 
 #define PKGDIR_VRFYSIGN            (PKGDIR_VRFY_GPG | PKGDIR_VRFY_PGP)
 
-struct pkgdir_dirindex;
-struct pkg;
-
-/* prototypes from pkgdir_dirindex.h */
-#ifndef SWIG
-extern tn_array *pkgdir_dirindex_get(const struct pkgdir_dirindex *dirindex,
-                                     tn_array *pkgs, const char *path);
-
-extern tn_array *pkgdir_dirindex_get_reqdirs(
-    const struct pkgdir_dirindex *dirindex,
-    const struct pkg *pkg);
-
-extern int pkgdir_dirindex_pkg_has_path(const struct pkgdir_dirindex *dirindex,
-                                        const struct pkg *pkg,
-                                        const char *path);
-#endif
-
 struct pkgdir_module;
 struct pm_ctx;
                                               
@@ -188,5 +171,21 @@
 struct pkg;
 int pkgdir_add_package(struct pkgdir *pkgdir, struct pkg *pkg);
 int pkgdir_remove_package(struct pkgdir *pkgdir, struct pkg *pkg);
+
+
+/* prototypes of pkgdir_dirindex.c */
+#ifndef SWIG
+
+/* returns packages having path */
+tn_array *pkgdir_dirindex_get(const struct pkgdir *pkgdir,
+                              tn_array *pkgs, const char *path);
+/* path belongs to pkg? */
+int pkgdir_dirindex_pkg_has_path(const struct pkgdir *pkgdir,
+                                 const struct pkg *pkg, const char *path);
+
+/* directories required by package */
+tn_array *pkgdir_dirindex_get_reqdirs(const struct pkgdir *pkgdir,
+                                      const struct pkg *pkg);
+#endif
 
 #endif /* POLDEK_PKGDIR_H*/

================================================================
Index: poldek/poldek/pkgdir/pkgdir_dirindex.c
diff -u poldek/poldek/pkgdir/pkgdir_dirindex.c:1.15 poldek/poldek/pkgdir/pkgdir_dirindex.c:1.16
--- poldek/poldek/pkgdir/pkgdir_dirindex.c:1.15	Sun Jul  1 23:04:26 2007
+++ poldek/poldek/pkgdir/pkgdir_dirindex.c	Mon Jul  2 18:39:22 2007
@@ -72,6 +72,8 @@
 const char **get_package_directories(struct tndb *db, const char *key, int klen,
                                      char *val, int *vsize, int *ndirs);
 
+static tn_array *do_dirindex_get(const struct pkgdir_dirindex *dirindex,
+                                 tn_array *pkgs, const char *path);
 
 /* package_no as db key */
 static int package_no_key(char *buf, int size, uint32_t package_no, int prefixed)
@@ -154,11 +156,9 @@
         tndb_put(db, key, klen, val, vlen);
 
     key[1] = PREFIX_PKGKEY_OWNDIR;
-
-
     vlen = sizeof(val);
     tl = tl_save = get_package_directories(dirindex->db, key, klen, val, &vlen, 
-		                           &ndirs);
+                                           &ndirs);
 
     if (tl == NULL) /* without owned directories */
         return found;
@@ -290,6 +290,7 @@
     for (i=0; i < n_array_size(pkgdir->pkgs); i++) {
         struct pkg *pkg = n_array_nth(pkgdir->pkgs, i);
         store_package_no(i, db, pkg);
+        DBGF(" pkgno %d %s\n", i, pkg_id(pkg));
     }
     
     for (i=0; i < n_array_size(pkgdir->pkgs); i++) {
@@ -313,7 +314,7 @@
         n_buf_clean(nbuf);
         nbuf = dirarray_join(nbuf, ids, ":");
         
-        DBGF("%s %s\n", path, n_buf_ptr(nbuf));
+        DBGF("  dir %s %s\n", path, (char*)n_buf_ptr(nbuf));
         
         tndb_put(db, path, strlen(path), n_buf_ptr(nbuf), n_buf_size(nbuf));
     }
@@ -329,6 +330,7 @@
     return 1;
 }
 
+
 /* build dirindex path based on pkgdir one */
 static int dirindex_path(char *path, int size, const struct pkgdir *pkgdir)
 {
@@ -451,6 +453,41 @@
     return tl;
 }
 
+static
+void verify_dirindex(struct pkgdir *pkgdir, struct pkgdir_dirindex *dirindex)
+{
+    const char **tl, **tl_save;
+    int i;
+    
+    n_assert(dirindex);
+
+    for (i=0; i < n_array_size(pkgdir->pkgs); i++) {
+        char key[512], val[32 * 1024];
+        int klen, vlen, ndirs;
+        struct pkg *pkg = n_array_nth(pkgdir->pkgs, i);
+        
+        klen = package_key(key, sizeof(key), pkg, PREFIX_PKGKEY_OWNDIR);
+        n_assert (n_hash_exists(dirindex->keymap, &key[2]));
+        vlen = sizeof(val);
+        tl = tl_save = get_package_directories(dirindex->db, key, klen,
+                                               val, &vlen, &ndirs);
+
+        if (tl == NULL) /* without owned directories */
+            continue;
+
+        n_assert(vlen > 0); 
+
+        while (*tl) {
+            const char *dir = *tl;
+            tn_array *pkgs = NULL;
+            pkgs = do_dirindex_get(dirindex, pkgs, dir);
+            n_assert(pkgs);
+            tl++;
+        }
+        
+        n_str_tokl_free(tl_save);
+    }
+}
 
 static
 struct tndb *open_index_database(const struct pkgdir *pkgdir, const char *path,
@@ -616,7 +653,7 @@
     if (index_outdated) {
         int created = dirindex_create(pkgdir, tndb_path(db), dirindex);
 
-        pkgdir_dirindex_close(dirindex);
+        pkgdir__dirindex_close(dirindex);
         dirindex = NULL;
         
         if (created)
@@ -642,7 +679,7 @@
 }
 
 
-struct pkgdir_dirindex *pkgdir_dirindex_open(struct pkgdir *pkgdir)
+struct pkgdir_dirindex *pkgdir__dirindex_open(struct pkgdir *pkgdir)
 {
     struct pkgdir_dirindex *dirindex;
     char path[1024];
@@ -670,10 +707,16 @@
     if (dirindex)
         update_pkgdir_packages(pkgdir, dirindex);
 
+    
+    if (dirindex && poldek__is_in_testing_mode()) {
+        msgn(1, "Verifying dirindex....");
+        verify_dirindex(pkgdir, dirindex);
+    }
+    
     return dirindex;
 }
 
-void pkgdir_dirindex_close(struct pkgdir_dirindex *dirindex)
+void pkgdir__dirindex_close(struct pkgdir_dirindex *dirindex)
 {
     tndb_close(dirindex->db);
     n_hash_free(dirindex->idmap);
@@ -685,14 +728,17 @@
 }
 
 
-
-tn_array *pkgdir_dirindex_get_reqdirs(const struct pkgdir_dirindex *dirindex,
+tn_array *pkgdir_dirindex_get_reqdirs(const struct pkgdir *pkgdir,
                                       const struct pkg *pkg)
 {
+    const struct pkgdir_dirindex *dirindex = pkgdir->dirindex;
     const char  **tl, **tl_save;
     char        key[512], val[1024 * 4];
     int         klen, vlen, n = 0;
     tn_array    *dirs;
+
+    if (dirindex == NULL)
+        return NULL;
     
     vlen = sizeof(val);
     klen = package_key(key, sizeof(key), pkg, PREFIX_PKGKEY_REQDIR);
@@ -715,36 +761,28 @@
     return dirs;
 }
 
-static
-int dirindex_get(const struct pkgdir_dirindex *dirindex, tn_array **pkgs_ptr,
-                 const struct pkg *pkg, const char *path)
+static tn_array *do_dirindex_get(const struct pkgdir_dirindex *dirindex,
+                                 tn_array *pkgs, const char *path)
 {
     const char    **tl, **tl_save;
-    tn_array      *pkgs = NULL;
     unsigned char val[8192];
-    int           n, found;
-    
-#if DEVEL    
-    static int  xx = 0;
-#endif    
-    
+    int           n, found, pkgs_passsed = 1;
+
     if (*path == '/')
         path++;
     
-    if (!tndb_get_str(dirindex->db, path, val, sizeof(val))) {
+    if (!tndb_get_str(dirindex->db, path, val, sizeof(val)))
         return 0;
-    }
+
     
     tl = tl_save = n_str_tokl_n(val, ":", &n);
-
-    DBGF("%s: FOUND %d %p\n", path, n, pkgs_ptr ? *pkgs_ptr : NULL);
+    DBGF("%s: FOUND %d (pkgs=%p)\n", path, n, pkgs ? pkgs : NULL);
     
     if (n) {
-        if (pkgs_ptr)
-            pkgs = *pkgs_ptr;
-        
-        if (pkgs == NULL)
-            pkgs = pkgs_array_new(n);
+        if (pkgs == NULL) {
+            pkgs = pkgs_array_new(4);
+            pkgs_passsed = 0;
+        }
 
         while (*tl) {
             const char *no = *tl;
@@ -760,61 +798,79 @@
             if ((p = n_hash_get(dirindex->idmap, no)) == NULL)
                 continue;
             
-            if (pkgs) 
-                n_array_push(pkgs, pkg_link(p));
-                
-            else if (p == pkg) {
-                found = 1;
-                break;
-            }
+            n_array_push(pkgs, pkg_link(p));
         }
-#if DEVEL        
-        if (pkgs)
-        {
-            int i;
-            xx++;
-            printf("  xx %s %d\n", path, n_array_size(pkgs));
-            if (strcmp(path, "usr/bin") == 0)
-                for (i=0; i<n_array_size(pkgs); i++)
-                    printf("       %s\n", pkg_id(n_array_nth(pkgs, i)));
-        }
-#endif        
-        
+        n_str_tokl_free(tl_save);
+        tl_save = NULL;
     }
-
-    n_str_tokl_free(tl_save);
-
-    if (pkgs_ptr) {
-        *pkgs_ptr = pkgs;
-        found = 1;
-        n_assert(pkgs);
-        n_assert(n_array_size(pkgs));
+    n_assert(tl_save == NULL);
+    
+    found = n_array_size(pkgs);
+    
+    if (found == 0) { /* patched pkgdir by diff without new packages */
+        if (!pkgs_passsed)
+            n_array_cfree(&pkgs);
     }
     
-    return found;
+    return pkgs;
 }
 
-tn_array *pkgdir_dirindex_get(const struct pkgdir_dirindex *dirindex,
+tn_array *pkgdir_dirindex_get(const struct pkgdir *pkgdir,
                               tn_array *pkgs, const char *path)
 {
-    int pkgs_passsed = 1;
-    
-    if (pkgs == NULL) {
-        pkgs = pkgs_array_new(4);
-        pkgs_passsed = 0;
-    }
-    
-    if (!dirindex_get(dirindex, &pkgs, NULL, path) && !pkgs_passsed)
-        n_array_cfree(&pkgs);
-    
-    DBGF("ret %p %d\n", pkgs, pkgs ? n_array_size(pkgs): -1);
+    if (pkgdir->dirindex == NULL)
+        return NULL;
     
-    return pkgs ? (n_array_size(pkgs) ? pkgs : NULL) : NULL;  
+    return do_dirindex_get(pkgdir->dirindex, pkgs, path);
 }
 
-int pkgdir_dirindex_pkg_has_path(const struct pkgdir_dirindex *dirindex,
+int pkgdir_dirindex_pkg_has_path(const struct pkgdir *pkgdir, 
                                  const struct pkg *pkg, const char *path)
 {
+    const struct pkgdir_dirindex *dirindex = pkgdir->dirindex;
+    const char    **tl, **tl_save;
+    unsigned char val[8192];
+    int           n, found;
+
+    if (dirindex == NULL)
+        return 0;
+    
     DBGF("%s %s\n", pkg_id(pkg), path);
-    return dirindex_get(dirindex, NULL, pkg, path);
+    
+    if (*path == '/')
+        path++;
+
+    if (!tndb_get_str(dirindex->db, path, val, sizeof(val)))
+        return 0;
+    
+    tl = tl_save = n_str_tokl_n(val, ":", &n);
+    DBGF("%s: FOUND %d\n", path, n);
+    
+    if (n) {
+        while (*tl) {
+            const char *no = *tl;
+            struct pkg *p;
+        
+            tl++;
+
+            if (*no == '\0')
+                continue;
+
+            DBGF("no %s\n", no);
+            
+            if ((p = n_hash_get(dirindex->idmap, no)) == NULL)
+                continue;
+            
+            if (p == pkg) {
+                found = 1;
+                break;
+            }
+        }
+        n_str_tokl_free(tl_save);
+        tl_save = NULL;
+    }
+    n_assert(tl_save == NULL);
+
+    return found;
 }
+

================================================================
Index: poldek/poldek/pkgdir/pkgdir_dirindex.h
diff -u poldek/poldek/pkgdir/pkgdir_dirindex.h:1.3 poldek/poldek/pkgdir/pkgdir_dirindex.h:1.4
--- poldek/poldek/pkgdir/pkgdir_dirindex.h:1.3	Wed Jun 20 19:11:43 2007
+++ poldek/poldek/pkgdir/pkgdir_dirindex.h	Mon Jul  2 18:39:22 2007
@@ -7,19 +7,19 @@
 struct pkgdir;
 struct pkgdir_dirindex;
 
-struct pkgdir_dirindex *pkgdir_dirindex_open(struct pkgdir *pkgdir);
-void pkgdir_dirindex_close(struct pkgdir_dirindex *dirindex);
+struct pkgdir_dirindex *pkgdir__dirindex_open(struct pkgdir *pkgdir);
+void pkgdir__dirindex_close(struct pkgdir_dirindex *dirindex);
 
 /* returns packages having path */
-tn_array *pkgdir_dirindex_get(const struct pkgdir_dirindex *dirindex,
+tn_array *pkgdir_dirindex_get(const struct pkgdir *pkgdir,
                               tn_array *pkgs, const char *path);
 /* path belongs to pkg? */
-int pkgdir_dirindex_pkg_has_path(const struct pkgdir_dirindex *dirindex,
+int pkgdir_dirindex_pkg_has_path(const struct pkgdir *pkgdir,
                                  const struct pkg *pkg, const char *path);
 
 /* returns directories required by package */
-tn_array *pkgdir_dirindex_get_reqdirs(const struct pkgdir_dirindex *dirindex,
+tn_array *pkgdir_dirindex_get_reqdirs(const struct pkgdir *pkgdir,
                                       const struct pkg *pkg);
 
-
+/* public prototypes are in pkgdir.h */
 #endif

================================================================
Index: poldek/poldek/pkgdir/pdir/save.c
diff -u poldek/poldek/pkgdir/pdir/save.c:1.20 poldek/poldek/pkgdir/pdir/save.c:1.21
--- poldek/poldek/pkgdir/pdir/save.c:1.20	Sun Jul  1 23:04:26 2007
+++ poldek/poldek/pkgdir/pdir/save.c	Mon Jul  2 18:39:22 2007
@@ -456,7 +456,7 @@
     int          lineno, i, len;
     off_t        diffs_size;
 
-    if (getenv("POLDEK_TESTING"))
+    if (poldek__is_in_testing_mode())
         return 1;
     
     if (stat(idxpath, &st_idx) != 0) {

================================================================
Index: poldek/poldek/pkgdir/pndir/save.c
diff -u poldek/poldek/pkgdir/pndir/save.c:1.33 poldek/poldek/pkgdir/pndir/save.c:1.34
--- poldek/poldek/pkgdir/pndir/save.c:1.33	Sun Jul  1 23:04:26 2007
+++ poldek/poldek/pkgdir/pndir/save.c	Mon Jul  2 18:39:22 2007
@@ -390,7 +390,7 @@
     int          lineno, i, len;
     off_t        diffs_size;
 
-    if (getenv("POLDEK_TESTING"))
+    if (poldek__is_in_testing_mode())
         return 1;
     
     if (stat(paths->path_main, &st_idx) != 0) {

================================================================
Index: poldek/poldek/tests/sh/03-up-loop
diff -u poldek/poldek/tests/sh/03-up-loop:1.1 poldek/poldek/tests/sh/03-up-loop:1.2
--- poldek/poldek/tests/sh/03-up-loop:1.1	Sat Jun 23 21:07:19 2007
+++ poldek/poldek/tests/sh/03-up-loop	Mon Jul  2 18:39:22 2007
@@ -12,6 +12,11 @@
    $POLDEK_UP -Oautoupa=n -Osource="test,type=pndir $REPOURL" --up
 }
 
+load() {
+   $POLDEK_UP --skip-installed -Osource="test,type=pndir $REPOURL" -n test --cmd "ls * | !grep -q qqqq"
+}
+
+
 testUpLoop() 
 {
     rm -rf $REPO/*.rpm
@@ -42,8 +47,17 @@
            fail "up #${nloop} failed"
            nloop=$maxloop
         fi
+        
+        msgn "  load"
+        load        
+        if [ $? -ne 0 ]; then 
+           fail "load #${nloop} failed"
+           nloop=$maxloop
+        fi
+
         nloop=$(expr $nloop + 1)
     done
 }
 
-. ./sh/lib/shunit2
\ No newline at end of file
+. ./sh/lib/shunit2
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/poldek/poldek/lib_init.c?r1=1.82&r2=1.83&f=u
    http://cvs.pld-linux.org/poldek/poldek/misc.c?r1=1.58&r2=1.59&f=u
    http://cvs.pld-linux.org/poldek/poldek/misc.h?r1=1.37&r2=1.38&f=u
    http://cvs.pld-linux.org/poldek/poldek/pkg.c?r1=1.116&r2=1.117&f=u
    http://cvs.pld-linux.org/poldek/poldek/pkgset.c?r1=1.95&r2=1.96&f=u
    http://cvs.pld-linux.org/poldek/poldek/pkgdir/pkgdir.c?r1=1.49&r2=1.50&f=u
    http://cvs.pld-linux.org/poldek/poldek/pkgdir/pkgdir.h?r1=1.37&r2=1.38&f=u
    http://cvs.pld-linux.org/poldek/poldek/pkgdir/pkgdir_dirindex.c?r1=1.15&r2=1.16&f=u
    http://cvs.pld-linux.org/poldek/poldek/pkgdir/pkgdir_dirindex.h?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/poldek/poldek/pkgdir/pdir/save.c?r1=1.20&r2=1.21&f=u
    http://cvs.pld-linux.org/poldek/poldek/pkgdir/pndir/save.c?r1=1.33&r2=1.34&f=u
    http://cvs.pld-linux.org/poldek/poldek/tests/sh/03-up-loop?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list