diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2016-09-21 15:16:00 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2016-09-21 15:18:28 +0200 |
commit | 3a04b789c6f17dff2000a3cdbeaaf86baa604524 (patch) | |
tree | 43c9a2ffb2b957c9d5550025a7f4d2032f497378 /units | |
parent | 698c5a176ead078e7c86c541be714ccb464dae95 (diff) |
sd-hwdb: order properties by origin
If we find duplicates in a property-lookup, make sure to order them by
their origin. That is, matches defined "later" take precedence over
earlier matches. The "later"-order is defined by file-name + line-number
combination. That is, if a match is defined below another one in the
same hwdb file, it takes precedence, same as if it is defined in a file
ordered after another one.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'units')
0 files changed, 0 insertions, 0 deletions