]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(extract_regexp) [!WITH_REGEX]: Initialize re_compiled.syntax_parens.
authorJim Meyering <jim@meyering.net>
Sun, 31 Dec 1995 04:10:13 +0000 (04:10 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 31 Dec 1995 04:10:13 +0000 (04:10 +0000)
From Andreas Schwab.

src/csplit.c

index f3a879a8e517d46af3cf021dd6859ca90a057998..b89a3692513c5f4819497d8c40875f825a9c61d6 100644 (file)
@@ -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)
     {