Re: --enable-zend-multibyte
| From: | Patrick ALLAERT | Date: | Thu, 18 Nov 2010 15:17:43 +0000 |
| Subject: | Re: --enable-zend-multibyte | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50351@lists.php.net to get a copy of this message | ||
2010/11/18 Dmitry Stogov <dmitry@zend.com>:
> Index: ext/mbstring/mbstring.c
> ===================================================================
> --- ext/mbstring/mbstring.c (revision 305494)
> +++ ext/mbstring/mbstring.c (working copy)
> @@ -1132,6 +1132,9 @@
> {
> int *list, size;
>
> + if (!CG(multibyte)) {
> + return FAILURE;
> + }
> if (php_mb_parse_encoding_list(new_value, new_value_length, &list,
> &size, 1 TSRMLS_CC)) {
> if (MBSTRG(script_encoding_list) != NULL) {
> free(MBSTRG(script_encoding_list));
Should this hunk not be inside an #ifdef ZEND_MULTIBYTE ?