Sync libc/regex with FreeBSD:
authorPeter Avalos <pavalos@theshell.com>
Tue, 27 Jan 2009 14:17:46 +0000 (09:17 -0500)
committerPeter Avalos <pavalos@theshell.com>
Tue, 7 Apr 2009 07:09:02 +0000 (21:09 -1000)
commita0bb9527e66ae20ed57597e6fdafbcfc65888244
tree1e3f08c3f8606f676f5957ff07c2fd14a4184bf7
parentf202adf74cb196abb9454a1e0044231658e0c692
Sync libc/regex with FreeBSD:

-Make regular expression matching aware of multibyte characters.

-Some WARNS cleanup.

-Only stop evaluation of a back reference if the match length is
zero and the recursion level is too deep.

-Add restrict type-qualifier.
12 files changed:
include/regex.h
lib/libc/regex/cclass.h [deleted file]
lib/libc/regex/cname.h
lib/libc/regex/engine.c
lib/libc/regex/re_format.7
lib/libc/regex/regcomp.c
lib/libc/regex/regerror.c
lib/libc/regex/regex.3
lib/libc/regex/regex2.h
lib/libc/regex/regexec.c
lib/libc/regex/regfree.c
lib/libc/regex/utils.h