Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146927100
D11522.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
458 B
Referenced Files
None
Subscribers
None
D11522.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11522: regex(3): Correct branching oversight from rS320742
Attached
Detach File
Event Timeline
Log In to Comment