Re: cvs: php4 /ext/msession msession.c
| From: | Jani Taskinen | Date: | Mon, 04 Feb 2002 20:25:07 +0000 |
| Subject: | Re: cvs: php4 /ext/msession msession.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-9267@lists.php.net to get a copy of this message | ||
If you want to maintain compatibility to 4.0.6, do it someplace
else. Anything in PHP cvs should be compatible with the latest CVS.
Or move your extension elsewhere.
--Jani
On Mon, 4 Feb 2002, Mark L. Woodward wrote:
>mlwmohawk Mon Feb 4 13:01:41 2002 EDT
>
> Modified files:
> /php4/ext/msession msession.c
> Log:
> Restored backward compatibility to PHP 4.0.6
>
>
>Index: php4/ext/msession/msession.c
>diff -u php4/ext/msession/msession.c:1.20 php4/ext/msession/msession.c:1.21
>--- php4/ext/msession/msession.c:1.20 Mon Feb 4 06:43:07 2002
>+++ php4/ext/msession/msession.c Mon Feb 4 13:01:39 2002
>@@ -187,7 +187,7 @@
> if(s_conn)
> {
> CloseReqConn(s_conn);
>- php_log_err("Call to connect with non-null s_conn" TSRMLS_CC);
>+ php_log_err("Call to connect with non-null s_conn");
> }
> if(strcmp(s_szhost, szhost))
> {
>@@ -824,7 +824,11 @@
> HashPosition pos;
> zval **entry;
> char *key;
>+#if ZEND_MODULE_API_NO >= 20010901
> uint keylen;
>+#else
>+ ulong keylen;
>+#endif
> ulong numndx;
> int ndx=0;
> char **pairs;
>
>
>
>