The following code used to work with rpm-4.0.
static int getFileCount(Header h)
   int count;
   int ret = headerGetEntry(h, RPMTAG_BASENAMES, NULL, NULL, &count);
   return ret == 1 ? count : 0;

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
Rpm-maint mailing list

Reply via email to