changeset 48205:b8b2159aed5e

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