Re: pop3 patch

From: Date: Sat, 01 Sep 2007 02:15:12 +0000
Subject: Re: pop3 patch
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-32006@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Aug 31, 2007, at 17:11:04, Antony Dovgal wrote:
On 31.08.2007 18:26, BuildSmart wrote:
+#if PHP_MAJOR_VERSION > 4 + if (!php_stream_get_line(stream, ZSTR(buffer), sizeof(buffer) - 1, &fetch_len)) { +#else
Are you sure PHP > 4 has ZSTR() macro ?
That should have been "PHP_MAJOR_VERSION > 5". Unfortunately due to "-undefined suppress" it doesn't catch the error, however, forcing "-undefined dynamic_lookup" solves this problem and is the preferred flag, simply setting an environment variable resolve this.
--Wbr, Antony Dovgal
- -- Dale -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFG2Msw0hzWbkf0eKgRAiwEAJ47DZ7FMe2MtcUEucSHSojrQ1KKtQCaAwBz gyC4FPfzpXSu5WwqXCSkwXM= =8Ak5 -----END PGP SIGNATURE-----

« previous php.internals (#32006) next »