changeset 84:fe2e35bd0625

*** empty log message ***
author Jim Blandy <jimb@red-bean.com>
date Thu, 13 May 1993 01:47:22 +0000
parents 51c85f74d16d
children 2a3d53e55301
files regex.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/regex.c
+++ b/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