PHP 4.0 Bug #9762 Updated: compiling fails with ZTS and imap (imap2000) support enabled
| From: | kalowsky@php.net | Date: | Thu, 15 Mar 2001 14:52:19 +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-48990@lists.php.net to get a copy of this message | ||
ID: 9762
Updated by: kalowsky
Reported By: jleg@nrw.net
Old-Status: Open
Status: Analyzed
Bug Type: Compile Failure
Assigned To:
Comments:
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...
Previous Comments:
---------------------------------------------------------------------------
[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