Re: [PHP-DEV] [PATCH PHP_4_3] Core dumps in cyrus

2004-10-14 Thread Moriyoshi Koizumi
Hi, Thank you for the patch. Cyrus extension is now in PECL (http://pecl.php.net/) and I'm the primary maintainer of it. I think the problems you pointed out were already addressed and fixed in CVS. Please check out the source at http://cvs.php.net/cvs.php/pecl/cyrus/ and send me a patch if you sti

[PHP-DEV] [PATCH PHP_4_3] Core dumps in cyrus

2004-10-13 Thread Martin Kraemer
Hi, In the cyrus_connect() php function, the Cyrus function imclient_connect() is called, and its return value is checked for 0, -1 or -2. There is a problem with that however: a) imclient_connect() returns in fact 0, -1, -2 OR the value of errno (if something outside of imclient_connect()'s s