# HG changeset patch # User Jim Blandy # Date 737257642 0 # Node ID ce6924085fc7de4d202177fed018a282dc7cdd87 # Parent a3ee51f30431aea582818bb2a914d1ef3f1bf2db *** empty log message *** diff -r a3ee51f30431 -r ce6924085fc7 src/regex.c --- a/src/regex.c Thu May 13 00:21:47 1993 +0000 +++ b/src/regex.c Thu May 13 01:47:22 1993 +0000 @@ -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