merge with 1.5.2
authorJim Meyering <jim@meyering.net>
Sat, 22 May 1993 05:06:49 +0000 (05:06 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 22 May 1993 05:06:49 +0000 (05:06 +0000)
lib/regex.c

index 5bd4cf654d7248d03b73d6a5efc1f39be887346e..e8b588207dae84f65da407d80c28422e1f9e20dd 100644 (file)
@@ -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