rpm 5.4.10 for testing in th-test
Jeffrey Johnson
n3npq at me.com
Thu Sep 13 14:45:09 CEST 2012
On Sep 13, 2012, at 7:28 AM, Jan Rękorajski wrote:
> On Wed, 12 Sep 2012, Jeffrey Johnson wrote:
>
>> But this isn't the time/pace to discuss relative merits
>> of user/group management … the rpmdsCompare needs to
>> be extended to include the namespace in the comparison.
>
> Would something like this do the job (works-for-me)?
> Or is it too simplified?
>
Perfect!
73 de Jeff
>
> --- rpm-5.4.10/lib/rpmds.c~ 2012-07-06 17:39:16.000000000 +0200
> +++ rpm-5.4.10/lib/rpmds.c 2012-09-13 12:40:32.439076460 +0200
> @@ -4036,6 +4036,12 @@
>
> assert((rpmdsFlags(A) & RPMSENSE_SENSEMASK) == A->ns.Flags);
> assert((rpmdsFlags(B) & RPMSENSE_SENSEMASK) == B->ns.Flags);
> + /* Different namespaces don't overlap. */
> + if (A->ns.Type != B->ns.Type) {
> + result = 0;
> + goto exit;
> + }
> +
> /* Different names (and/or name.arch's) don't overlap. */
> if (rpmdsNAcmp(A, B)) {
> result = 0;
>
> --
> Jan Rękorajski | PLD/Linux
> SysAdm | http://www.pld-linux.org/
> baggins<at>mimuw.edu.pl
> baggins<at>pld-linux.org
> _______________________________________________
> pld-devel-en mailing list
> pld-devel-en at lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
More information about the pld-devel-en
mailing list