changeset 86:bf280196c55d

merge with 1.5.2
author Jim Meyering <jim@meyering.net>
date Sat, 22 May 1993 05:06:49 +0000
parents 2a3d53e55301
children ab8d9f06c885
files lib/regex.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/regex.c
+++ b/lib/regex.c
@@ -4784,6 +4784,7 @@
   /* 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