poldek: poldek/install/install.c - missing ts reset
mis
mis at pld-linux.org
Fri Jul 6 01:18:15 CEST 2007
Author: mis Date: Thu Jul 5 23:18:15 2007 GMT
Module: poldek Tag: HEAD
---- Log message:
- missing ts reset
---- Files affected:
poldek/poldek/install:
install.c (1.10 -> 1.11)
---- Diffs:
================================================================
Index: poldek/poldek/install/install.c
diff -u poldek/poldek/install/install.c:1.10 poldek/poldek/install/install.c:1.11
--- poldek/poldek/install/install.c:1.10 Sun Jul 1 23:04:26 2007
+++ poldek/poldek/install/install.c Fri Jul 6 01:18:10 2007
@@ -327,6 +327,12 @@
return nmarked;
}
+static void ts_reset(struct poldek_ts *ts)
+{
+ pkgmark_massset(ts->pms, 0, PKGMARK_MARK | PKGMARK_DEP);
+ n_hash_clean(ts->ts_summary);
+}
+
int in_do_poldek_ts_install(struct poldek_ts *ts)
{
int i, nmarked = 0, nerr = 0, n, is_particle;
@@ -422,7 +428,7 @@
if (!do_install(&ictx))
nerr++;
- pkgmark_massset(ts->pms, 0, PKGMARK_MARK | PKGMARK_DEP);
+ ts_reset(ictx.ts);
install_ctx_reset(&ictx);
}
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/poldek/poldek/install/install.c?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list