]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-namespace-compare.patch
- netsharedpath sample (probably not complete)
[packages/rpm.git] / rpm-namespace-compare.patch
1 --- rpm-5.4.10/lib/rpmds.c~     2012-07-06 17:39:16.000000000 +0200
2 +++ rpm-5.4.10/lib/rpmds.c      2012-09-13 12:40:32.439076460 +0200
3 @@ -4036,6 +4036,12 @@
4  
5  assert((rpmdsFlags(A) & RPMSENSE_SENSEMASK) == A->ns.Flags);
6  assert((rpmdsFlags(B) & RPMSENSE_SENSEMASK) == B->ns.Flags);
7 +    /* Different namespaces don't overlap. */
8 +    if (A->ns.Type != B->ns.Type) {
9 +       result = 0;
10 +       goto exit;
11 +    }
12 +
13      /* Different names (and/or name.arch's) don't overlap. */
14      if (rpmdsNAcmp(A, B)) {
15         result = 0;
This page took 0.020995 seconds and 3 git commands to generate.