Page MenuHomeFreeBSD

D11522.1794215618.diff
No OneTemporary

Authored By
Unknown
Size
458 B
Referenced Files
None
Subscribers
None

D11522.1794215618.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
Mon, Nov 9, 9:13 AM (10 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41610818
Default Alt Text
D11522.1794215618.diff (458 B)

Event Timeline