projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3773b1c
)
merge with 1.5.2
author
Jim Meyering
<jim@meyering.net>
Sat, 22 May 1993 05:06:49 +0000
(
05:06
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 22 May 1993 05:06:49 +0000
(
05:06
+0000)
lib/regex.c
patch
|
blob
|
history
diff --git
a/lib/regex.c
b/lib/regex.c
index 5bd4cf654d7248d03b73d6a5efc1f39be887346e..e8b588207dae84f65da407d80c28422e1f9e20dd 100644
(file)
--- a/
lib/regex.c
+++ b/
lib/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