summaryrefslogtreecommitdiff
path: root/src/regex.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-05-13 01:47:22 +0000
committerJim Blandy <jimb@redhat.com>1993-05-13 01:47:22 +0000
commit3e5cb7568310d2fdec2d4e99e7ce64a0ffd6121e (patch)
treec082a78008c87144715b277be48b48cda9fae14e /src/regex.c
parent564fb2dfcaaacf83ffbddb149d39602975e4604d (diff)
downloademacs-3e5cb7568310d2fdec2d4e99e7ce64a0ffd6121e.tar.gz
*** empty log message ***
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regex.c b/src/regex.c
index 5bd4cf654d7..e8b588207da 100644
--- a/src/regex.c
+++ b/src/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