[Rpm-maint] [rpm-software-management/rpm] Make source package detection less error prone. (#218)

Panu Matilainen notifications at github.com
Fri May 19 09:42:57 UTC 2017


Right, thought it was something like that.

As for a cheap way of getting the count, I wouldn't mind something like a HEADERGET_NODATA flag to headerGet(), IIRC I encountered some other use-case for such a thing not so long ago (quite possibly the same: getting count of something)

OTOH applyRetrofits() is hardly performance-critical piece of code in middle of tight loop, nobody is going to notice if you use headerGet() to get the whole deal. And HEADERGET_MINMEM will make it even less noticeable.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/218#issuecomment-302658331
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170519/1913b66b/attachment.html>


More information about the Rpm-maint mailing list