PHP 4.0 Bug #9762 Updated: compiling fails with ZTS and imap (imap2000) support enabled

From: Date: Fri, 16 Mar 2001 13:23:05 +0000
Subject: PHP 4.0 Bug #9762 Updated: compiling fails with ZTS and imap (imap2000) support enabled
Groups: php.dev 
Request: Send a blank email to php-dev+get-49061@lists.php.net to get a copy of this message
ID: 9762 Updated by: sniper Reported By: jleg@nrw.net Old-Status: Analyzed Status: Closed Bug Type: Compile Failure Assigned To: Comments: Fixed in CVS. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-15 09:52:18] kalowsky@php.net First I've heard of the compile failure... but the patch looks legit. Doing some quick tests locally here, and then I'll submit it. This should more than likely also go into the next 4.0.5RC, but I'll have to check with the QA/Group people first... --------------------------------------------------------------------------- [2001-03-15 03:25:15] jleg@nrw.net $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(); } --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9762&edit=2

« previous php.dev (#49061) next »