| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
among other things, the DEVFS rule subsystem to match nodes against a
path pattern supplied by the user.
fnmatch.c was repo-copied from src/lib/libc/gen/fnmatch.c, and the
only changes to it are those necessary to make it compile in the
kernel. The relevant parts of fnmatch.h were imported into libkern.h.
Approved by: -arch
|
|
|
|
|
| |
* Remove 'register'. (some functions had 7+ register functions...)
* Fix SCM ID's.
|
|
|
|
| |
'for' loop as do...while and remove variable unneded now
|
|
|
|
|
| |
Don't treat !^ as first characters in the range, just as negate sign
[/] never match if FNM_PATHNAME
|
|
|
|
| |
2) Treat unclosed [ range in pattern as regular characters (bash style)
|
|
|
|
|
|
| |
and FNM_LEADING_DIR were specified and the pattern ended with "*".
Example: pattern="src/usr.sbin/w*", string="src/usr.sbin/watch/watch.8,v".
This should match, but did not.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
1) Rename FNM_ICASE to FNM_CASEFOLD
2) Add FNM_LEADING_DIR
Add proper (unsigned char) casts to tolower().
Use 'char' function argument for proper sign extension
|
|
|
|
| |
Reviewed by: ache
|
| |
|
| |
|
|
|
|
| |
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
|
| |
|
|
|