On Jan 26, 2010, at 9:02 AM, Jeff Johnson wrote:
>
> Perfect. Thanks! I'll have a patch soonishly ...
>
This should do the trick.
Packages with no files do not need to avoid contained
files when doing erasure ordering:
Index: depends.c
===================================================================
RCS file: /v/rpm/cvs/rpm/lib/depends.c,v
retrieving revision 1.454
diff -p -u -w -r1.454 depends.c
--- depends.c 17 Dec 2009 04:00:13 -0000 1.454
+++ depends.c 26 Jan 2010 14:26:08 -0000
@@ -2146,7 +2146,7 @@ static inline int addRelation(rpmts ts,
if (*N == '/') {
rpmfi fi = rpmteFI(p, RPMTAG_BASENAMES);
rpmbf bf = rpmfiBloomFN(fi);
- if (rpmbfChk(bf, N, strlen(N)))
+ if (bf != NULL && rpmbfChk(bf, N, strlen(N)))
return 0;
}
hth
73 de Jeff
______________________________________________________________________
RPM Package Manager http://rpm5.org
Developer Communication List [email protected]