chiark / gitweb /
[PATCH] don't rely on field order in namedev_parse
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Wed, 17 Dec 2003 07:36:19 +0000 (23:36 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:08 +0000 (21:13 -0700)
commitd94df232423870641132b307d74281f692219730
tree8706b9c988b67daee930052e0855ca613735c104
parent600ee7f73e5381764803725e68a0f953bd2f46fd
[PATCH] don't rely on field order in namedev_parse

  o change the parsing to get a key from the rule and sort it
    into our list of known keys instead of expecting a special order
  o the key to match a sysfs file must be prependend by 'SYSFS_' now
    to match with the new parsing.
    (The config must be changed, but it's a bit more descriptive too.)
  o put names of fields in define's, like the name of the methods
  o update all tests and the man page
namedev.h
namedev_parse.c
test/label_test
test/udev-test.pl
udev.8
udev.rules.demo