[Rpm-maint] [rpm-software-management/rpm] Support triple operator for conditional shortcut (#115) (#746)
Panu Matilainen
notifications at github.com
Thu Jun 20 10:12:17 UTC 2019
pmatilai commented on this pull request.
> @@ -45,6 +45,12 @@ enum macroFlags_e {
ME_USED = (1 << 1),
};
+enum checkConditionType {
+ CHK_NO = 0,
+ CHK_BASIC = (1 << 0),
+ CHK_TRIPLE = (1 << 1),
+};
CHK_NO sounds like something that wants to pair with CHK_YES, but this is something entirely different.
I didn't really look whether it makes sense in the rest of the code, I'd expect the to be a CHK_EXISTS bit, and if its of the triple format, there'd be an extra bit set on that, instead of being entirely separate entities. But please rethink these names anyhow.
--
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/746#pullrequestreview-252202908
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190620/a711e14a/attachment.html>
More information about the Rpm-maint
mailing list