- If link or regular file sizes differ, they cannot possibly be
identical. Saves us from doing bunch of pointless string and
memory comparisons on what's a very busy path - not exactly a huge
with but measurable nevertheless.
if (amode != bmode) return 1;
+ if (awhat == LINK || awhat == REG) {
+ if (rpmfiFSizeIndex(afi, aix) != rpmfiFSizeIndex(bfi, bix))
+ return 1;
+ }
+
if (!rstreq(rpmfiFUserIndex(afi, aix), rpmfiFUserIndex(bfi, bix)))
return 1;
if (!rstreq(rpmfiFGroupIndex(afi, aix), rpmfiFGroupIndex(bfi, bix)))