changeset 3969:f9f4c9631e62

(regexec): Fix pmatch declaration.
author Dave Love <fx@gnu.org>
date Thu, 07 Nov 2002 20:53:33 +0000
parents fd036b5fd367
children 486f723d4c65
files regex.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;