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:
https://github.com/rpm-software-management/rpm/pull/1060 -- 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 -- https://github.com/rpm-software-management/rpm/pull/1060.patch https://github.com/rpm-software-management/rpm/pull/1060.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/1060
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint