[Rpm-maint] [rpm-software-management/rpm] Logical op improvements (#855)
notifications at github.com
Tue Sep 24 08:55:31 UTC 2019
This commits change the handling of the logical operators. It allows to use strings as condition and also changes || and && to return the last evaluated term like in perl/python/ruby.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Add boolifyValue helper and use it in rpmExprBool
* Disallow ternary operator with different types on the rhs
* Use boolifyValue in the not operator
* Change || and && operators to behave like perl/python/ruby
-- File Changes --
M rpmio/expression.c (72)
M tests/rpmmacro.at (34)
-- 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