| From 01ca7e2062fe3986d7a978c04b6ad7b63d8adb23 Mon Sep 17 00:00:00 2001 |
| From: Pierre-Hugues Husson <phh@phh.me> |
| Date: Sun, 19 Aug 2018 10:51:06 +0200 |
| Subject: [PATCH 17/26] idmap: Don't silently ignore RROs with same priority |
| |
| Change-Id: I64a6899f1b30e0cd9e9a872b7ca83d831f038cbe |
| --- |
| cmds/idmap/scan.cpp | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| diff --git a/cmds/idmap/scan.cpp b/cmds/idmap/scan.cpp |
| index 0acff23..d1dde52 100644 |
| --- a/cmds/idmap/scan.cpp |
| +++ b/cmds/idmap/scan.cpp |
| @@ -29,6 +29,8 @@ namespace { |
| |
| bool operator<(Overlay const& rhs) const |
| { |
| + if(rhs.priority == priority) |
| + return rhs.apk_path > apk_path; |
| return rhs.priority > priority; |
| } |
| |
| -- |
| 2.7.4 |
| |