Commit Graph

14 Commits

Author SHA1 Message Date
ache
4edf467e22 Style optimization in newly added POSIX range []] conformance, redo
'for' loop as do...while and remove variable unneded now
1997-06-07 01:33:10 +00:00
ache
3960867fa4 Add missing FNM_PERIOD check for '[' range
Don't treat !^ as first characters in the range, just as negate sign
[/] never match if FNM_PATHNAME
1997-06-06 22:33:28 +00:00
ache
7279a0810f 1) Now conforms POSIX.2 2.8.3.2 requirements about []] pattern
2) Treat unclosed [ range in pattern as regular characters (bash style)
1997-06-06 21:48:55 +00:00
jdp
0dd88b99c3 Fix a bug that caused some false mismatches when both FNM_PATHNAME
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.
1997-04-29 03:24:57 +00:00
ache
ed64bf08bd Eliminate some function calls when locale not used 1997-04-04 19:08:19 +00:00
ache
41d9720a8f Speedup in case locale not used 1997-04-04 18:44:19 +00:00
ache
86548c66aa collate_range_cmp -> __collate_range_cmp 1996-10-31 04:32:27 +00:00
ache
d9fc1dc7c5 GNU-style changes:
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
1996-10-23 16:40:20 +00:00
wosch
7a03305256 add flag FNM_ICASE for case insensitve search
Reviewed by: ache
1996-10-20 15:15:59 +00:00
ache
9ed39675f3 Convert to newly aded collate compare function 1996-08-12 18:49:54 +00:00
ache
fda5493376 Use collate for alpha character ranges 1996-08-12 04:03:50 +00:00
jkh
a3b50e31fd General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 18:57:58 +00:00
rgrimes
1c444a9f7e Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
rgrimes
b533bb0399 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00