diff options
author | Carlo Marcelo Arenas Belón <carenas@gmail.com> | 2019-08-25 11:22:23 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-08-26 11:37:02 -0700 |
commit | ff61681b46760f6a64353018760bccc14c90f8e9 (patch) | |
tree | cd0c70dec90b31375b91176f77f3e8dd32969aeb /t/t5100/patch0002 | |
parent | grep: make sure NO_LIBPCRE1_JIT disable JIT in PCRE1 (diff) | |
download | tgif-ff61681b46760f6a64353018760bccc14c90f8e9.tar.xz |
grep: refactor and simplify PCRE1 support
The code used both a macro and a variable to keep track if JIT
support was desired and relied on the fact that a non JIT
enabled library will ignore a request for JIT compilation
(as defined by the second parameter of the call to pcre_study)
Cleanup the multiple levels of macros used and call pcre_study
with the right parameter after JIT support has been confirmed
and unless it was requested to be disabled with NO_LIBPCRE1_JIT
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/patch0002')
0 files changed, 0 insertions, 0 deletions