Commit fa4b3f0f authored by unknown's avatar unknown

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

   (too few arguments)


regex/regcomp.c:
   - compile fix spotted on Mac OS X (too few arguments)
parent 964618ed
...@@ -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