Commit 9d788778 authored by lenz@mysql.com's avatar lenz@mysql.com

- compile fix for regex/regcomp.c spotted on Mac OS X

   (too few arguments)
parent b9f2b342
...@@ -884,7 +884,7 @@ int ch; ...@@ -884,7 +884,7 @@ int ch;
register char *oldend = p->end; register char *oldend = p->end;
char bracket[3]; char bracket[3];
assert(othercase(ch) != ch); /* p_bracket() would recurse */ assert(othercase(p->charset, ch) != ch); /* p_bracket() would recurse */
p->next = bracket; p->next = bracket;
p->end = bracket+2; p->end = bracket+2;
bracket[0] = ch; bracket[0] = ch;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment