Skip to content

Commit 9d78877

Browse files
- compile fix for regex/regcomp.c spotted on Mac OS X
(too few arguments)
1 parent b9f2b34 commit 9d78877

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

regex/regcomp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ int ch;
884884
register char *oldend = p->end;
885885
char bracket[3];
886886

887-
assert(othercase(ch) != ch); /* p_bracket() would recurse */
887+
assert(othercase(p->charset, ch) != ch); /* p_bracket() would recurse */
888888
p->next = bracket;
889889
p->end = bracket+2;
890890
bracket[0] = ch;

0 commit comments

Comments
 (0)