1 |
commit: 905449f8011e71f0cc018c9aa755cdbfb0307461 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 25 14:12:33 2018 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 25 14:12:33 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=905449f8 |
7 |
|
8 |
atom_explode: fix inversion of < and <= |
9 |
|
10 |
libq/atom_explode.c | 4 ++-- |
11 |
1 file changed, 2 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/libq/atom_explode.c b/libq/atom_explode.c |
14 |
index d5d0840..1b81909 100644 |
15 |
--- a/libq/atom_explode.c |
16 |
+++ b/libq/atom_explode.c |
17 |
@@ -135,9 +135,9 @@ atom_explode(const char *atom) |
18 |
++atom; |
19 |
if (atom[0] == '=') { |
20 |
++atom; |
21 |
- ret->pfx_op = ATOM_OP_NEWER_EQUAL; |
22 |
- } else |
23 |
ret->pfx_op = ATOM_OP_NEWER; |
24 |
+ } else |
25 |
+ ret->pfx_op = ATOM_OP_NEWER_EQUAL; |
26 |
break; |
27 |
default: |
28 |
ret->pfx_op = ATOM_OP_BLOCK; |