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

Reply via email to