[Rpm-maint] [rpm-software-management/rpm] Add "local_generator" (PR #2734)
Vít Ondruch
notifications at github.com
Wed Oct 25 09:52:29 UTC 2023
@voxik commented on this pull request.
> char *bn = basename(files[i]);
bn[strlen(bn)-strlen(".attr")] = '\0';
fc->atypes[i] = rpmfcAttrNew(bn);
}
+ fc->atypes[nattrs - 1] = rpmfcAttrNew("local_generator");
The `nfiles` could be used here instead, but I am not sure it would make the code more readable.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2734#pullrequestreview-1696861838
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2734/review/1696861838 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20231025/323785e0/attachment.html>
More information about the Rpm-maint
mailing list