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

2001-03-16 Thread sniper

ID: 9762
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Analyzed
Status: Closed
Bug Type: Compile Failure
Assigned To: 
Comments:

Fixed in CVS.

--Jani


Previous Comments:
---

[2001-03-15 09:52:18] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
$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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-03-15 Thread kalowsky

ID: 9762
Updated by: kalowsky
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
$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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]