diff options
author | Jim Meyering <jim@meyering.net> | 1993-05-22 05:06:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-05-22 05:06:39 +0000 |
commit | 6587c39b3ad22a17a2525597bc8d4712916d29fe (patch) | |
tree | 0e841eb7fb9d97d3e8ae8c26bd4a6b2c337e0ee5 /lib/regex.c | |
parent | d1c5cbfcddaced8d64b23bc3f22bfc4082b58604 (diff) | |
download | coreutils-6587c39b3ad22a17a2525597bc8d4712916d29fe.tar.xz |
merge with 1.5.2
Diffstat (limited to 'lib/regex.c')
-rw-r--r-- | lib/regex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/regex.c b/lib/regex.c index 5bd4cf654..e8b588207 100644 --- 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 |