From:             [EMAIL PROTECTED]
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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to