\o/
thanks for fixing!

On Mon, Sep 5, 2011 at 11:27 AM, Hannes Magnusson <bj...@php.net> wrote:
> bjori                                    Mon, 05 Sep 2011 09:27:23 +0000
>
> Revision: http://svn.php.net/viewvc?view=revision&revision=316134
>
> Log:
> Not all submodules have MINIT, but they have MINFO and need to be registered
> (cought by tyrael@)
>
> Changed paths:
>    U   php/php-src/trunk/ext/standard/basic_functions.c
>
> Modified: php/php-src/trunk/ext/standard/basic_functions.c
> ===================================================================
> --- php/php-src/trunk/ext/standard/basic_functions.c    2011-09-05 08:27:47 
> UTC (rev 316133)
> +++ php/php-src/trunk/ext/standard/basic_functions.c    2011-09-05 09:27:23 
> UTC (rev 316134)
> @@ -3521,8 +3521,11 @@
>
>  #define BASIC_MINIT_SUBMODULE(module) \
>        if (PHP_MINIT(module)(INIT_FUNC_ARGS_PASSTHRU) == SUCCESS) {\
> -               zend_hash_add_empty_element(&basic_submodules, #module, 
> strlen(#module)); \
> +               BASIC_ADD_SUBMODULE($module); \
>        }
> +
> +#define BASIC_ADD_SUBMODULE(module) \
> +       zend_hash_add_empty_element(&basic_submodules, #module, 
> strlen(#module));
>
>  #define BASIC_RINIT_SUBMODULE(module) \
>        if (zend_hash_exists(&basic_submodules, #module, strlen(#module))) { \
> @@ -3619,6 +3622,8 @@
>        register_html_constants(INIT_FUNC_ARGS_PASSTHRU);
>        register_string_constants(INIT_FUNC_ARGS_PASSTHRU);
>
> +       BASIC_ADD_SUBMODULE(dl)
> +       BASIC_ADD_SUBMODULE(mail)
>        BASIC_MINIT_SUBMODULE(file)
>        BASIC_MINIT_SUBMODULE(pack)
>        BASIC_MINIT_SUBMODULE(browscap)
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>



-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to