[Rpm-maint] [rpm-software-management/rpm] Double the '%' chars when splitting macro args (#1058)

Michael Schroeder notifications at github.com
Thu Feb 6 13:43:38 UTC 2020


Before this commit, there was an "escape" flag that made the macro
expansion keep '%%' escapes. But this did not work for macros
that returned an '%' character by other means.

Remove the old escape mechanism and instead double the '%' characters
when the body is split into argument.

Fixes: #1055
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1058

-- Commit Summary --

  * Double the '%' chars when splitting macro args

-- File Changes --

    M rpmio/macro.c (11)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1058.patch
https://github.com/rpm-software-management/rpm/pull/1058.diff

-- 
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/1058
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200206/c1e2267b/attachment.html>


More information about the Rpm-maint mailing list