зеркало из https://github.com/microsoft/git.git
Merge branch 'bb/grep-pcre2-bug-message-fix'
BUG() message fix. The codepath may want to just simply be removed, though. * bb/grep-pcre2-bug-message-fix: grep: print the pcre2_jit_on value
This commit is contained in:
Коммит
7b70d46ca4
2
grep.c
2
grep.c
|
@ -559,7 +559,7 @@ static void compile_pcre2_pattern(struct grep_pat *p, const struct grep_opt *opt
|
|||
pcre2_jit_stack_assign(p->pcre2_match_context, NULL, p->pcre2_jit_stack);
|
||||
} else if (p->pcre2_jit_on != 0) {
|
||||
BUG("The pcre2_jit_on variable should be 0 or 1, not %d",
|
||||
p->pcre1_jit_on);
|
||||
p->pcre2_jit_on);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче