Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32006 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10186 invoked by uid 1010); 1 Sep 2007 02:16:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 10155 invoked from network); 1 Sep 2007 02:16:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Sep 2007 02:16:03 -0000 Authentication-Results: pb1.pair.com header.from=buildsmart@daleenterprise.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=buildsmart@daleenterprise.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daleenterprise.com from 67.78.11.229 cause and error) X-PHP-List-Original-Sender: buildsmart@daleenterprise.com X-Host-Fingerprint: 67.78.11.229 daleenterprise.com Received: from [67.78.11.229] ([67.78.11.229:63644] helo=daleenterprise.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/00-09927-E5BC8D64 for ; Fri, 31 Aug 2007 22:16:01 -0400 Received: from localhost (localhost [127.0.0.1]) by daleenterprise.com (Postfix) with ESMTP id 0A1F322854B for ; Fri, 31 Aug 2007 22:15:27 -0400 (EDT) Received: from daleenterprise.com ([127.0.0.1]) by localhost (daleenterprise.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12974-08 for ; Fri, 31 Aug 2007 22:15:24 -0400 (EDT) Received: from [10.1.100.11] (relay.mustangrestomods.com [67.78.11.226]) by daleenterprise.com (Postfix) with ESMTP id 02F3D228540 for ; Fri, 31 Aug 2007 22:15:13 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <46D883E8.5080308@zend.com> References: <46D883E8.5080308@zend.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Content-Transfer-Encoding: 7bit Date: Fri, 31 Aug 2007 22:15:12 -0400 To: PHP Developers Mailing List X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) MTA-Interface: amavisd-new-2.3.3 (2005-08-22) + Maia Mailguard 1.1.0 at daleenterprise.com X-Spam-Scanned: using SpamAssassin 3.1.7 (2006-10-05) at daleenterprise.com X-Virus-Scanned: using ClamAV 0.88.6 (2006-11-05) at daleenterprise.com Subject: Re: [PHP-DEV] pop3 patch From: buildsmart@daleenterprise.com (BuildSmart) -----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-----