diff options
| author | Daniel C. Sobral <dcs@FreeBSD.org> | 2000-07-09 17:45:30 +0000 |
|---|---|---|
| committer | Daniel C. Sobral <dcs@FreeBSD.org> | 2000-07-09 17:45:30 +0000 |
| commit | 8f9e434f46f1957eb57ef78498af5c47f2095ae8 (patch) | |
| tree | fc7a774e3f6ff2816c8eb6b5d974635fbb978725 /lib/libc/regex | |
| parent | b6c1a56180be79c5e58d272f9fd2a8af72b41e3a (diff) | |
Notes
Diffstat (limited to 'lib/libc/regex')
| -rw-r--r-- | lib/libc/regex/regcomp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/regex/regcomp.c b/lib/libc/regex/regcomp.c index e0afdcc0f190..bf92f2c07460 100644 --- a/lib/libc/regex/regcomp.c +++ b/lib/libc/regex/regcomp.c @@ -1891,6 +1891,10 @@ int mccs; OP(s) != OOR2) return -1; } while (OP(s) != O_QUEST && OP(s) != O_CH); + /* We must skip to the next position, or we'll + * leave altoffset() too early. + */ + scan++; break; case OANYOF: if (mccs) |
