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

Reply via email to