[Rpm-maint] [rpm-software-management/rpm] Treat unparsable macros like undefined macros (#1400)

Michael Schroeder notifications at github.com
Wed Oct 14 10:08:00 UTC 2020


This seems to be the intention of the code but it did
not work because macro parsing was resumed at the wrong
point of the input string. Without this commit, "%{}"
expanded to "%" instead of "%{}".
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Treat unparsable macros like undefined macros

-- File Changes --

    M rpmio/macro.c (1)
    M tests/rpmmacro.at (5)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1400.patch
https://github.com/rpm-software-management/rpm/pull/1400.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/1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201014/dbee56ad/attachment.html>


More information about the Rpm-maint mailing list