X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=compat%2Fregex%2Fregex.c;h=67d5c370a04c0630089e8601eafde5c05957959c;hb=41d5b7e362c33dc54cbc814e50403a2084204f9f;hp=87b33e46697b9a5dd9a9e8391ca3607f7e2ff569;hpb=5ab2f7b2ce8c51e8c47a4cc57c30fa7cae239005;p=git.git diff --git a/compat/regex/regex.c b/compat/regex/regex.c index 87b33e466..67d5c370a 100644 --- a/compat/regex/regex.c +++ b/compat/regex/regex.c @@ -1043,7 +1043,7 @@ regex_compile (pattern, size, syntax, bufp) they can be reliably used as array indices. */ register unsigned char c, c1; - /* A random tempory spot in PATTERN. */ + /* A random temporary spot in PATTERN. */ const char *p1; /* Points to the end of the buffer, where we should append. */ @@ -1796,7 +1796,7 @@ regex_compile (pattern, size, syntax, bufp) we're all done, the pattern will look like: set_number_at set_number_at - succeed_n + succeed_n jump_n (The upper bound and `jump_n' are omitted if @@ -4852,11 +4852,8 @@ regexec (preg, string, nmatch, pmatch, eflags) from either regcomp or regexec. We don't use PREG here. */ size_t -regerror (errcode, preg, errbuf, errbuf_size) - int errcode; - const regex_t *preg; - char *errbuf; - size_t errbuf_size; +regerror(int errcode, const regex_t *preg, + char *errbuf, size_t errbuf_size) { const char *msg; size_t msg_size;