[Rpm-maint] Patch: use IteratorFileNum in checkInstDeps

Michael Schroeder mls at suse.de
Wed Aug 13 10:44:45 UTC 2014


Hi,

the code in checkInstDeps calls checkDS for matched dependencies,
which in turn loops over all dependencies. That's actually not really
needed, as we already know which index to use.

The attached patch makes checkInstDeps directly call unsatisfiedDepend
which the right ds, which makes the code simpler and a tiny bit faster.

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls at suse.de
SUSE LINUX Products GmbH,  GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-IteratorFileNum-in-checkInstDeps.patch
Type: text/x-patch
Size: 2839 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20140813/ded7a5ec/attachment.bin>


More information about the Rpm-maint mailing list