Fix typo in previous patch. Somehow I managed to omit the main point of the patch.... --- lib/regex.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/regex.h b/lib/regex.h index 540c323163..118f9b4beb 100644 --- a/lib/regex.h +++ b/lib/regex.h @@ -680,9 +680,8 @@ extern int regcomp (regex_t *_Restrict_ __preg, extern int regexec (const regex_t *_Restrict_ __preg, const char *_Restrict_ __String, size_t __nmatch, - regmatch_t __pmatch[_Restrict_arr_], - int __eflags) - _Attr_access_ ((__write_only__, 4, 3)); + regmatch_t __pmatch[_Restrict_arr_ _ARG_NELTS_ (__nmatch)], + int __eflags); extern size_t regerror (int __errcode, const regex_t *_Restrict_ __preg, char *_Restrict_ __errbuf, size_t __errbuf_size) -- 2.31.1