X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/7b00c0c43f52e9d27168e67a26aac19065cdb40c..ad3c9f2af814c84582fdd1649e49ec4f68572c5a:/regex/FreeBSD/regex.3.patch diff --git a/regex/FreeBSD/regex.3.patch b/regex/FreeBSD/regex.3.patch deleted file mode 100644 index ec526a2..0000000 --- a/regex/FreeBSD/regex.3.patch +++ /dev/null @@ -1,67 +0,0 @@ ---- regex.3.bsdnew 2009-11-11 11:29:04.000000000 -0800 -+++ regex.3 2009-11-11 11:29:04.000000000 -0800 -@@ -37,8 +37,8 @@ - .Os - .Sh NAME - .Nm regcomp , --.Nm regexec , - .Nm regerror , -+.Nm regexec , - .Nm regfree - .Nd regular-expression library - .Sh LIBRARY -@@ -47,20 +47,29 @@ - .In regex.h - .Ft int - .Fo regcomp --.Fa "regex_t * restrict preg" "const char * restrict pattern" "int cflags" --.Fc --.Ft int --.Fo regexec --.Fa "const regex_t * restrict preg" "const char * restrict string" --.Fa "size_t nmatch" "regmatch_t pmatch[restrict]" "int eflags" -+.Fa "regex_t *restrict preg" -+.Fa "const char *restrict pattern" -+.Fa "int cflags" - .Fc - .Ft size_t - .Fo regerror --.Fa "int errcode" "const regex_t * restrict preg" --.Fa "char * restrict errbuf" "size_t errbuf_size" -+.Fa "int errcode" -+.Fa "const regex_t *restrict preg" -+.Fa "char *restrict errbuf" -+.Fa "size_t errbuf_size" -+.Fc -+.Ft int -+.Fo regexec -+.Fa "const regex_t *restrict preg" -+.Fa "const char *restrict string" -+.Fa "size_t nmatch" -+.Fa "regmatch_t pmatch[restrict]" -+.Fa "int eflags" - .Fc - .Ft void --.Fn regfree "regex_t *preg" -+.Fo regfree -+.Fa "regex_t *preg" -+.Fc - .Sh DESCRIPTION - These routines implement - .St -p1003.2 -@@ -71,12 +80,11 @@ see - The - .Fn regcomp - function --compiles an RE written as a string into an internal form, -+compiles an RE, written as a string, into an internal form. - .Fn regexec --matches that internal form against a string and reports results, -+matches that internal form against a string and reports results. - .Fn regerror --transforms error codes from either into human-readable messages, --and -+transforms error codes from either into human-readable messages. - .Fn regfree - frees any dynamically-allocated storage used by the internal form - of an RE.