Re: [PHP4BETA] cvs: /php4/ext/imap imap.c
| From: | Stig-Ørjan Smelror | Date: | Tue, 28 Dec 1999 12:11:02 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4/ext/imap imap.c | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8584@lists.php.net to get a copy of this message | ||
"Thies C. Arntzen" wrote:
>
> thies Thu Dec 23 07:46:56 1999 EDT
>
> Modified files:
> /php4/ext/imap imap.c
> Log:
> ZTS fix
>
>
> Index: php4/ext/imap/imap.c
> diff -u php4/ext/imap/imap.c:1.26 php4/ext/imap/imap.c:1.27
> --- php4/ext/imap/imap.c:1.26 Mon Dec 20 08:28:17 1999
> +++ php4/ext/imap/imap.c Thu Dec 23 07:46:25 1999
> @@ -21,7 +21,7 @@
> | PHP 4.0 updates: Zeev Suraski <zeev@zend.com> |
> +----------------------------------------------------------------------+
> */
> -/* $Id: imap.c,v 1.26 1999/12/20 13:28:17 eschmid Exp $ */
> +/* $Id: imap.c,v 1.27 1999/12/23 12:46:25 thies Exp $ */
>
> #define IMAP41
>
> @@ -419,6 +419,8 @@
>
> PHP_MINIT_FUNCTION(imap)
> {
> + ELS_FETCH();
> +
> unsigned long sa_all = SA_MESSAGES | SA_RECENT | SA_UNSEEN |
> SA_UIDNEXT | SA_UIDVALIDITY;
>
>
Hey Thies,
This patch breaks IMAP... At least on my machine !!
Here is the error I get :
----------------------------------------------------
/usr/include/mysql -I/usr/include/pgsql -D_REENTRANT -g -O2 -c
imap.c
imap.c: In function `php_minit_imap':
imap.c:424: parse error before `unsigned'
imap.c:559: `sa_all' undeclared (first use this function)
imap.c:559: (Each undeclared identifier is reported only once
imap.c:559: for each function it appears in.)
make[3]: *** [imap.lo] Error 1
make[3]: Leaving directory
`/home/stig/web/PHP4/apache_1.3.9/extra/php4/ext/imap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/stig/web/PHP4/apache_1.3.9/extra/php4/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stig/web/PHP4/apache_1.3.9/extra/php4'
make: *** [all-recursive-am] Error 2
------------------------------------------------------
Thanks.
--
Vennlig hilsen/Best Regards
Stig-Ørjan Smelror
Winther Computer Network DA http://www.winther.net
Stig.Orjan.Smelror@winther.net Teknisk Ansvarlig
Winther.Net ; Webhosting uten grenser.