com php-src: Fixed #68704: ext/pcre/php_pcre.c
| From: | Xinchen Hui | Date: | Thu, 08 Jan 2015 08:26:20 +0000 |
| Subject: | com php-src: Fixed #68704: ext/pcre/php_pcre.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84028@lists.php.net to get a copy of this message | ||
Commit: d7fd9406915e3b8cf66764305e82b0cae2414545
Author: Xinchen Hui <laruence@php.net> Thu, 8 Jan 2015 16:26:20 +0800
Parents: 1b4f7c3a771f2bae365190fa4f5d4b9b8aa4cae5
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d7fd9406915e3b8cf66764305e82b0cae2414545
Log:
Fixed #68704
Bugs:
https://bugs.php.net/68704
Changed paths:
M ext/pcre/php_pcre.c
Diff:
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 5701ae1..d6f3823 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -376,7 +376,7 @@ PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(zend_string *regex)
#if HAVE_SETLOCALE
if (BG(locale_string) &&
- (!BG(locale_string)->len != 1 || !BG(locale_string)->val[0] != 'C')) {
+ (BG(locale_string)->len != 1 || BG(locale_string)->val[0] != 'C')) {
tables = pcre_maketables();
}
#endif