[Rpm-maint] [rpm-software-management/rpm] Make "%patchlist -f patches" work. v2 (#1043)
Florian Festi
notifications at github.com
Wed Feb 5 14:39:37 UTC 2020
ffesti commented on this pull request.
> @@ -2244,6 +2245,12 @@ int readManifest(rpmSpec spec, const char *path, const char *descr, int flags,
continue;
if (specExpand(spec, lineno, buf, &expanded))
goto exit;
+ if (flags & STRIP_TRAILINGSPACE) {
+ char *end = expanded + strlen(expanded) - 1;
+ while (end >= expanded && isspace((unsigned char)*end))
Done.
--
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/1043#discussion_r375293832
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200205/f4b4090d/attachment.html>
More information about the Rpm-maint
mailing list