diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-24 13:32:32 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-24 13:32:32 +0200 |
commit | ac218d9cc8344755654f6be34f8c60863fe2fb33 (patch) | |
tree | a767ce002083132214ef74bf20d569ada81bb957 /udev/udev-util.c | |
parent | b0f7409f2416a95cf38bfc19410bd8466778194b (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