PHP 4.0 Bug #9762: compiling fails with ZTS and imap (imap2000) support enabled
| From: | jleg at nrw dot net | Date: | Thu, 15 Mar 2001 08:25:15 +0000 |
| Subject: | PHP 4.0 Bug #9762: compiling fails with ZTS and imap (imap2000) support enabled | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48967@lists.php.net to get a copy of this message | ||
From: jleg@nrw.net
Operating system: Linux 2.2.16
PHP version: 4.0 Latest CVS (15/03/2001)
PHP Bug Type: Compile Failure
Bug description: compiling fails with ZTS and imap (imap2000) support enabled
$subject says it all; this patch gets around this:
--- ext/imap/php_imap.c~ Wed Mar 14 21:15:08 2001
+++ ext/imap/php_imap.c Thu Mar 15 09:20:09 2001
@@ -366,6 +366,7 @@
*/
void mail_getquota(MAILSTREAM *stream, char *qroot,QUOTALIST *qlist)
{
+ IMAPLS_FETCH();
/* this should only be run through once */
for (; qlist; qlist = qlist->next)
{
@@ -1021,7 +1022,8 @@
int ind, ind_type;
pils *imap_le_struct;
-
+ IMAPLS_FETCH();
+
if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &streamind, &qroot) ==
FAILURE) {
ZEND_WRONG_PARAM_COUNT();
}
--
Edit Bug report at: http://bugs.php.net/?id=9762&edit=1