# HG changeset patch # User Dave Love # Date 1036702413 0 # Node ID f9f4c9631e62ca61427aba7d378f7d9bb9b74a60 # Parent fd036b5fd367c09480fdf625327782bac12333f7 (regexec): Fix pmatch declaration. diff --git a/regex.c b/regex.c --- a/regex.c +++ b/regex.c @@ -6202,7 +6202,7 @@ const regex_t *__restrict preg; const char *__restrict string; size_t nmatch; - regmatch_t pmatch[]; + regmatch_t pmatch[__restrict_arr]; int eflags; { int ret;