Meh, sorry about the formatting, apparently github doesn't like copy-pasted 
diffs in comments...
Anyway, point being you dont need all that, just change the log line to 
something like this so it emits the name in all cases:

`rpmlog(RPMLOG_WARNING, _("line %d: second %%files for package %s\n"), 
spec->lineNum, rpmstrPoolStr(pkg->pool, pkg->name));`

-- 
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/91#issuecomment-247288306
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to