Browse Source
Remove code that would trigger if pcre_config() or pcre2_config() was so broken that "do we have JIT?" wouldn't return a boolean. I added this code back inmaintfbaceaac47
("grep: add support for the PCRE v1 JIT API", 2017-05-25) and then as noted inf002532784
("grep: print the pcre2_jit_on value", 2019-07-22) incorrectly copy/pasted some of it in94da9193a6
("grep: add support for PCRE v2", 2017-06-01). Let's just remove this code. Being this paranoid about the pcre2?_config() function itself being broken is crossing the line into unreasonable paranoia. Reported-by: Beat Bolli <dev+git@drbeat.li> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason
6 years ago
committed by
Junio C Hamano
1 changed files with 2 additions and 8 deletions
Loading…
Reference in new issue