[Rpm-maint] Check signature rpm segmentation fault

Shakthi Kannan shakthimaan at gmail.com
Mon May 23 10:57:16 UTC 2011


Hi Panu:

--- On Mon, May 23, 2011 at 2:51 PM, Panu Matilainen
<pmatilai at laiskiainen.org> wrote:
| In normal circumstances rpmReadConfigFiles() should only be called once in a
| process lifetime. Also you don't want to create and destroy transaction sets
| in a loop either, you're causing repeated rpmdb opens + closes by doing so,
| only slowing things down. Init the library once, create a transaction set
| and use that to read as many packages as you like, and only then free the
| ts.
\--

Thanks!

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com


More information about the Rpm-maint mailing list