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