Re: com php-src: Fixed bug #67199 mb_regex_encoding mishmash: ext/mbstring/php_mbregex.c

From: Date: Mon, 12 May 2014 06:08:33 +0000
Subject: Re: com php-src: Fixed bug #67199 mb_regex_encoding mishmash: ext/mbstring/php_mbregex.c
References: 1  Groups: php.cvs php.internals 
Request: Send a blank email to php-cvs+get-78267@lists.php.net to get a copy of this message
Hi! This commit breaks the CI tests: FAIL Testing mb_eregi_replace() function [ext/mbstring/tests/mb_eregi_replace.phpt] Please fix it. On Sun, May 11, 2014 at 9:33 PM, Yasuo Ohgaki <yohgaki@php.net> wrote: > Commit: 997be125eb0228c5b1b6dd278f617791e71192c6 > Author: Yasuo Ohgaki <yohgaki@php.net> Mon, 12 May 2014 > 13:33:53 +0900 > Parents: f2fdeba19d37080ddc27198a0879bb0254684c5b > Branches: PHP-5.6 master > > Link: > > http://git.php.net/?p=php-src.git;a=commitdiff;h=997be125eb0228c5b1b6dd278f617791e71192c6 > > Log: > Fixed bug #67199 mb_regex_encoding mishmash > > Bugs: > https://bugs.php.net/67199 > > Changed paths: > M ext/mbstring/php_mbregex.c > > > Diff: > diff --git a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c > index 4b1b924..9ea2970 100644 > --- a/ext/mbstring/php_mbregex.c > +++ b/ext/mbstring/php_mbregex.c > @@ -64,8 +64,8 @@ static void php_mb_regex_free_cache(php_mb_regex_t **pre) > /* {{{ _php_mb_regex_globals_ctor */ > static int _php_mb_regex_globals_ctor(zend_mb_regex_globals *pglobals > TSRMLS_DC) > { > - pglobals->default_mbctype = ONIG_ENCODING_EUC_JP; > - pglobals->current_mbctype = ONIG_ENCODING_EUC_JP; > + pglobals->default_mbctype = ONIG_ENCODING_UTF8; > + pglobals->current_mbctype = ONIG_ENCODING_UTF8; > zend_hash_init(&(pglobals->ht_rc), 0, NULL, (void (*)(void *)) > php_mb_regex_free_cache, 1); > pglobals->search_str = (zval*) NULL; > pglobals->search_re = (php_mb_regex_t*)NULL; > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.cvs (#78267) next »