Page MenuHomeFreeBSD

D11522.diff
No OneTemporary

D11522.diff

Index: head/lib/libc/regex/regcomp.c
===================================================================
--- head/lib/libc/regex/regcomp.c
+++ head/lib/libc/regex/regcomp.c
@@ -672,7 +672,7 @@
bc.terminate = false;
if (p->pre_parse != NULL)
p->pre_parse(p, &bc);
- while (MORE() && !SEESPEC('|') && !SEEEND()) {
+ while (MORE() && (!p->allowbranch || !SEESPEC('|')) && !SEEEND()) {
bc.terminate = p->parse_expr(p, &bc);
++bc.nchain;
}

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 7, 8:21 PM (5 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29341300
Default Alt Text
D11522.diff (458 B)

Event Timeline