From: Jim Meyering Date: Sat, 22 May 1993 05:06:49 +0000 (+0000) Subject: merge with 1.5.2 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5a2e749337de095c4b9cb29ca32c7ad2f703bd2;p=pspp merge with 1.5.2 --- diff --git a/lib/regex.c b/lib/regex.c index 5bd4cf654d..e8b588207d 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -4784,6 +4784,7 @@ regcomp (preg, pattern, cflags) /* regex_compile will allocate the space for the compiled pattern. */ preg->buffer = 0; preg->allocated = 0; + preg->used = 0; /* Don't bother to use a fastmap when searching. This simplifies the REG_NEWLINE case: if we used a fastmap, we'd have to put all the