From 972e3e06142a2a253a022b8ad3d8c4e0baf80c8b Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 7 Nov 2002 20:53:33 +0000 Subject: [PATCH] (regexec): Fix pmatch declaration. --- regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex.c b/regex.c index b4f2d8d804..022ca13eba 100644 --- a/regex.c +++ b/regex.c @@ -6202,7 +6202,7 @@ regexec (preg, string, nmatch, pmatch, eflags) const regex_t *__restrict preg; const char *__restrict string; size_t nmatch; - regmatch_t pmatch[]; + regmatch_t pmatch[__restrict_arr]; int eflags; { int ret; -- 2.30.2