com php-src: seemingly a tiny typo error in pcre module.: ext/pcre/php_pcre.c

From: Date: Tue, 21 Nov 2017 11:28:15 +0000
Subject: com php-src: seemingly a tiny typo error in pcre module.: ext/pcre/php_pcre.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100321@lists.php.net to get a copy of this message
Commit: d006270040b88c6ec142bd66c2b0e50656386b03 Author: David Carlier <devnexen@gmail.com> Mon, 20 Nov 2017 21:09:28 +0000 Committer: Anatol Belski <ab@php.net> Tue, 21 Nov 2017 12:28:15 +0100 Parents: efa4d8d3acead0cf21315f57ac2da1a08efa86ab Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d006270040b88c6ec142bd66c2b0e50656386b03 Log: seemingly a tiny typo error in pcre module. Changed paths: M ext/pcre/php_pcre.c Diff: diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index fb17378..f23202b 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -2746,7 +2746,7 @@ PHPAPI void php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return /* Perform the match */ #ifdef HAVE_PCRE_JIT_SUPPORT - if (PCRE_G(jit) && (pce->preg_options && PREG_JIT) + if (PCRE_G(jit) && (pce->preg_options & PREG_JIT) && no_utf_check) { count = pcre2_jit_match(pce->re, (PCRE2_SPTR)ZSTR_VAL(subject_str), ZSTR_LEN(subject_str), 0, PCRE2_NO_UTF_CHECK, match_data, mctx);

« previous php.cvs (#100321) next »