Re: [PHP4BETA] CVS update: php4/ext/session
| From: | Sascha Schumann | Date: | Sun, 06 Jun 1999 19:40:16 +0000 |
| Subject: | Re: [PHP4BETA] CVS update: php4/ext/session | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1335@lists.php.net to get a copy of this message | ||
On Sun, Jun 06, 1999 at 06:36:43PM -0000, andi wrote:
> Date: Sunday June 6, 1999 @ 14:36
> Author: andi
>
> Update of /repository/php4/ext/session
> In directory php:/tmp/cvs-serv9383/ext/session
>
> Modified Files:
> session.c
> Log Message:
> - Make sessions compile on win32 but it still doesn't link.
>
> Index: php4/ext/session/session.c
> diff -u php4/ext/session/session.c:1.8 php4/ext/session/session.c:1.9
> --- php4/ext/session/session.c:1.8 Sun Jun 6 14:22:17 1999
> +++ php4/ext/session/session.c Sun Jun 6 14:36:42 1999
> @@ -494,11 +494,11 @@
> }
> /* }}} */
>
> -void php_rinit_globals(php_ps_globals *ps_globals)
> +void php_rinit_globals(PSLS_D)
> {
> - ps_globals->mod = _php_find_ps_module(INI_STR("session_module_name"));
> + PS(mod) = _php_find_ps_module(INI_STR("session_module_name"));
>
> - zend_hash_init(&ps_globals->vars, 0, NULL, NULL, 0);
> + zend_hash_init(&PS(vars), 0, NULL, NULL, 0);
No, that is wrong for Unix where PS(a) is globals.a. Please
revert that changes.
--
Regards,
Sascha Schumann
Consultant