summaryrefslogtreecommitdiffstats
path: root/sys/libkern/fnmatch.c
Commit message (Collapse)AuthorAgeFilesLines
* Style optimization in newly added POSIX range []] conformance, redoache1997-06-071-6/+6
| | | | 'for' loop as do...while and remove variable unneded now
* Add missing FNM_PERIOD check for '[' rangeache1997-06-061-4/+10
| | | | | Don't treat !^ as first characters in the range, just as negate sign [/] never match if FNM_PATHNAME
* 1) Now conforms POSIX.2 2.8.3.2 requirements about []] patternache1997-06-061-11/+35
| | | | 2) Treat unclosed [ range in pattern as regular characters (bash style)
* Fix a bug that caused some false mismatches when both FNM_PATHNAMEjdp1997-04-291-1/+2
| | | | | | 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.
* Eliminate some function calls when locale not usedache1997-04-041-6/+4
|
* Speedup in case locale not usedache1997-04-041-2/+6
|
* collate_range_cmp -> __collate_range_cmpache1996-10-311-3/+4
|
* GNU-style changes:ache1996-10-231-10/+14
| | | | | | | 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
* add flag FNM_ICASE for case insensitve searchwosch1996-10-201-1/+20
| | | | Reviewed by: ache
* Convert to newly aded collate compare functionache1996-08-121-3/+3
|
* Use collate for alpha character rangesache1996-08-121-1/+4
|
* General -Wall warning cleanup, part I.jkh1996-07-121-1/+1
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+171
OpenPOWER on IntegriCloud