[Rpm-maint] [rpm-software-management/rpm] A saner way for marco argument escaping (#1060)

Michael Schroeder notifications at github.com
Fri Feb 7 10:26:43 UTC 2020

This adds a ME_NOEXPAND macro flag that turns off body expansion.

This is much simpler than the weird % character doubling. It's also a bit faster
because there's less calls to expandMacro().
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Remove duplicated code in macro expansion
  * Add a ME_NOEXPAND macro flag that turns off body expansion
  * Use ME_NOEXPAND when setting __file_name and __file_lineno

-- File Changes --

    M rpmio/macro.c (62)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200207/aa8d7d2d/attachment.html>

More information about the Rpm-maint mailing list