From: Jim Blandy Date: Thu, 13 May 1993 01:47:22 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04b772e595c5b34cbf2713ff3a4db5dd0692f502;p=pspp *** empty log message *** --- diff --git a/regex.c b/regex.c index 5bd4cf654d..e8b588207d 100644 --- a/regex.c +++ b/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