[systemd-devel] keymap: Specific models should always override more general globs

Martin Pitt martin.pitt at ubuntu.com
Sun Sep 1 23:19:59 PDT 2013


Hello again,

Martin Pitt [2013-09-02  7:41 +0200]:
> Kay, is there any kind of processing order guarantee from the hwdb
> trie?

Discussed on chat. For the record, common prefixes get sorted into one
node, and within that node sorting happens lexicographically
(asciibetically and shorter strings sort before longer ones). The "all
models from a vendor" globs were wrong and also quite weird to read
(an artifact from the mass conversion), I fixed these three cases in
git now with a quick explanation:

  http://cgit.freedesktop.org/systemd/systemd/commit/?id=ee2babf4

It works fine now.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


More information about the systemd-devel mailing list