-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrew G. Morgan wrote: >> So assuming I can't rely on cap_compare() always being there (it being >> Linux-specific extension and even then only in very recent libcap), >> would the following be a reasonable fallback: If cap_size() of both sets >> are equal, grab external presentation of both and memcmp() them? > > Yes, that would work - if their size is different they don't match ;-)
http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=db1f9af5e2a4443e64ce10112a9553204bab7f4e I don't see this implemented yet. Is fixing this still on your radar? Cheers Andrew -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJHFTs+bHCR3gb8jsRAsxYAKC6Dw/hd1ewl8a6o3VWuLPLKjce7gCdFAVi 0RYGB02KPxVmqwM/Z7uobu0= =dMNZ -----END PGP SIGNATURE----- _______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint