(regexec): Fix pmatch declaration.
authorDave Love <fx@gnu.org>
Thu, 7 Nov 2002 20:53:33 +0000 (20:53 +0000)
committerDave Love <fx@gnu.org>
Thu, 7 Nov 2002 20:53:33 +0000 (20:53 +0000)
regex.c

diff --git a/regex.c b/regex.c
index b4f2d8d8049d4c28edb2d60d6652587dfa1bbbc2..022ca13eba6f13fca636e2e136bedd49f8e30254 100644 (file)
--- 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;