From: Jim Meyering Date: Sun, 31 Dec 1995 04:10:13 +0000 (+0000) Subject: (extract_regexp) [!WITH_REGEX]: Initialize re_compiled.syntax_parens. X-Git-Tag: TEXTUTILS-1_13j~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a7190a7381236a08fbca3be8ebd33645722a836c;p=thirdparty%2Fcoreutils.git (extract_regexp) [!WITH_REGEX]: Initialize re_compiled.syntax_parens. From Andreas Schwab. --- diff --git a/src/csplit.c b/src/csplit.c index f3a879a8e5..b89a369251 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1194,6 +1194,9 @@ extract_regexp (int argnum, boolean ignore, char *str) p->re_compiled.buffer = (unsigned char *) xmalloc (p->re_compiled.allocated); p->re_compiled.fastmap = xmalloc (256); p->re_compiled.translate = 0; +#if !WITH_REGEX + p->re_compiled.syntax_parens = 0; +#endif err = re_compile_pattern (p->regexpr, len, &p->re_compiled); if (err) {