summaryrefslogtreecommitdiff
path: root/udev/udev-util.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-24 13:32:32 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-24 13:32:32 +0200
commitac218d9cc8344755654f6be34f8c60863fe2fb33 (patch)
treea767ce002083132214ef74bf20d569ada81bb957 /udev/udev-util.c
parentb0f7409f2416a95cf38bfc19410bd8466778194b (diff)
determine at rule parse time if we need to call fnmatch()
This cuts down the large rule set's 120.000 calls to fnmatch() to 51.000, and we can just call strcmp for the simple matches.
Diffstat (limited to 'udev/udev-util.c')
0 files changed, 0 insertions, 0 deletions