History log of /openbsd-src/lib/libc/gen/fnmatch.c (Results 1 – 23 of 23)
Revision Date Author Comments
# 036a3c97 13-Oct-2020 guenther <guenther@openbsd.org>

Do some easy .data -> .rodata/.data.rel.ro conversions

ok millert@ deraadt@


# bec5024d 13-Mar-2020 djm <djm@openbsd.org>

typo in comment
spotted at https://fossies.org/linux/misc/openssh-8.2p1.tar.gz/codespell.html


# a41aab5d 01-Mar-2016 millert <millert@openbsd.org>

KNF this file; OK stsp@


# 7c892ffc 26-Feb-2016 millert <millert@openbsd.org>

Fix negation of POSIX character classes; passed new regress test.
OK tb@


# 25963ebf 01-Aug-2015 millert <millert@openbsd.org>

Fix a potential out-of-bounds read found via address-sanitizer while
fuzzing as reported by Elliott Hughes. OK doug@ stsp@


# d0471eef 11-Dec-2014 millert <millert@openbsd.org>

Remove an undocumented limit on the length of the pattern and string
to match of PATH_MAX. As fnmatch() is used for matching more than
just pathnames, this can prevent legitimate matches for long st

Remove an undocumented limit on the length of the pattern and string
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@

show more ...


# dfe5467e 24-Nov-2013 deraadt <deraadt@openbsd.org>

most obvious unsigned char casts for ctype
ok jca krw ingo


# 10075c14 06-Dec-2011 stsp <stsp@openbsd.org>

New fnmatch(3) implementation which is not recursive.
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

New fnmatch(3) implementation which is not recursive.
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

show more ...


# d2d52c9f 10-Feb-2011 stsp <stsp@openbsd.org>

Put a limit on recursion during matching, and reject input of size greater
or equal PATH_MAX. Based on similar fix made in NetBSD.
ok miod@ millert@


# 9b6dc627 01-Oct-2008 millert <millert@openbsd.org>

POSIX character class support for fnmatch(3) and glob(3). OK deraadt@


# 242653d2 31-Mar-2006 deraadt <deraadt@openbsd.org>

(char)to{upper,lower}()


# c2c925de 08-Aug-2005 espie <espie@openbsd.org>

zap remaining rcsid.

Kill old files that are no longer compiled.

okay theo


# 73b3e3c4 18-May-2004 jfb <jfb@openbsd.org>

ansify function definitions and zap some `register'

ok millert@


# 6580fee3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# e7beb4a7 19-Feb-2002 millert <millert@openbsd.org>

We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

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 don

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.

show more ...


# 86c8b537 23-Mar-2000 millert <millert@openbsd.org>

Add #ifdef __STDC__ around the rangematch function header to avoid
promotion of test to int, thus violating the prototype. Gcc handles
this gracefully but more std ANSI compilers will complain.


# dfa5a4f6 19-Mar-1998 millert <millert@openbsd.org>

some -Wall


# e14651f5 22-Sep-1997 millert <millert@openbsd.org>

From FreeBSD:
1) Add support for FNM_LEADING_DIR, FNM_CASEFOLD, FNM_IGNORECASE
2) POSIX.2 fixes


# 5c977c5a 23-Jul-1997 kstailey <kstailey@openbsd.org>

trailing blanks


# b0f29dd7 09-Jul-1997 millert <millert@openbsd.org>

Clean up some -Wall complaints.


# e9b2b68c 19-Aug-1996 tholo <tholo@openbsd.org>

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree