rpm/ignore_poolstr_dummy_entries.diff

12 lines
369 B
Diff

--- build/rpmfc.c.orig 2013-09-11 17:13:39.165560997 +0000
+++ build/rpmfc.c 2013-09-11 17:13:52.171560974 +0000
@@ -848,6 +848,8 @@ rpmRC rpmfcApply(rpmfc fc)
previx = -1;
for (rpmsid id = 1; id <= nddict; id++) {
s = rpmstrPoolStr(fc->ddict, id);
+ if (!s || !*s)
+ continue;
/* Parse out (file#,deptype,N,EVR,Flags) */
ix = strtol(s, &se, 10);