summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/fnmatch.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do some easy .data -> .rodata/.data.rel.ro conversionsguenther2020-10-131-2/+2
| | | | ok millert@ deraadt@
* typo in commentdjm2020-03-131-2/+2
| | | | spotted at https://fossies.org/linux/misc/openssh-8.2p1.tar.gz/codespell.html
* KNF this file; OK stsp@millert2016-03-011-350/+349
|
* Fix negation of POSIX character classes; passed new regress test.millert2016-02-261-4/+10
| | | | OK tb@
* Fix a potential out-of-bounds read found via address-sanitizer whilemillert2015-08-011-1/+3
| | | | fuzzing as reported by Elliott Hughes. OK doug@ stsp@
* Remove an undocumented limit on the length of the pattern and stringmillert2014-12-111-6/+1
| | | | | | to match of PATH_MAX. As fnmatch() is used for matching more than just pathnames, this can prevent legitimate matches for long strings or partterns. OK miod@ tedu@
* most obvious unsigned char casts for ctypederaadt2013-11-241-9/+16
| | | | ok jca krw ingo
* New fnmatch(3) implementation which is not recursive.stsp2011-12-061-232/+435
| | | | | | | Written and provided under BSD licence by William A. Rowe Jr. Originally released in Apache APR-1.4.5. Merged class matching code from r1.14 and PATH_MAX check from r1.15. ok miod millert
* Put a limit on recursion during matching, and reject input of size greaterstsp2011-02-101-3/+29
| | | | | or equal PATH_MAX. Based on similar fix made in NetBSD. ok miod@ millert@
* POSIX character class support for fnmatch(3) and glob(3). OK deraadt@millert2008-10-011-2/+48
|
* (char)to{upper,lower}()deraadt2006-03-311-4/+4
|
* zap remaining rcsid.espie2005-08-081-9/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* ansify function definitions and zap some `register'jfb2004-05-181-5/+3
| | | | ok millert@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-10/+2
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-3/+3
|
* Add #ifdef __STDC__ around the rangematch function header to avoidmillert2000-03-231-3/+7
| | | | | promotion of test to int, thus violating the prototype. Gcc handles this gracefully but more std ANSI compilers will complain.
* some -Wallmillert1998-03-191-4/+4
|
* From FreeBSD:millert1997-09-221-18/+70
| | | | | 1) Add support for FNM_LEADING_DIR, FNM_CASEFOLD, FNM_IGNORECASE 2) POSIX.2 fixes
* trailing blankskstailey1997-07-231-3/+3
|
* Clean up some -Wall complaints.millert1997-07-091-2/+2
|
* Fix RCS idstholo1996-08-191-7/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+177