Searched hist:62855 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.0-release/lib/libc/regex/ | ||
H A D | regcomp.c | diff 62855 Sun Jul 09 15:45:30 MDT 2000 dcs altoffset() always returned whenever it recursed, because at the end of the processing of the recursion, "scan" would be pointing to O_CH (or O_QUEST), which would then be interpreted as being the end character for altoffset(). We avoid this by properly increasing scan before leaving the switch. Without this, something like (a?b?)?cc would result in a g->moffset of 1 instead of 2. I added a case to the soon-to-be-imported regex(3) test code to catch this error. |
Completed in 114 milliseconds