[Rpm-maint] [rpm-software-management/rpm] Reset global macro state after each spec query/parse (#1067)
notifications at github.com
Wed Feb 12 07:34:45 UTC 2020
Parsing a spec, even unsuccessfully, will affect the global macro
state in any number of ways that may affect the following operations
in unpredictable ways. Lacking any saner way to do this, reset the
entire global macro state after each spec parse in rpmspec and spec
query code (rpmbuild already does this) while maintaining possible
cli-specified target and rcfile.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Reset global macro state after each spec query/parse
-- File Changes --
M lib/query.c (7)
M rpmspec.c (12)
-- 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...
More information about the Rpm-maint