Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39090 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12184 invoked from network); 18 Jul 2008 13:08:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jul 2008 13:08:58 -0000 Authentication-Results: pb1.pair.com header.from=scottmac@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=scottmac@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 193.227.246.108 as permitted sender) X-PHP-List-Original-Sender: scottmac@php.net X-Host-Fingerprint: 193.227.246.108 ip246-108-v193.static.x-ip.net Received: from [193.227.246.108] ([193.227.246.108:57365] helo=lovelace.midden.org.uk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 90/A3-31728-9E590884 for ; Fri, 18 Jul 2008 09:08:58 -0400 Received: from office.vbulletin.com ([217.155.246.60] helo=[10.0.0.116]) by lovelace.midden.org.uk with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KJphZ-00082C-MY; Fri, 18 Jul 2008 14:08:53 +0100 Message-ID: <488095DB.5020107@php.net> Date: Fri, 18 Jul 2008 14:08:43 +0100 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Steph Fox CC: Pierre Joye , internals References: <043f01c8e87f$63257930$a7bd614d@foxbox> <001701c8e8c1$e01a6ee0$a7bd614d@foxbox> <488079A5.3020401@php.net> <008f01c8e8c8$691b9e20$a7bd614d@foxbox> <48807FC7.2060302@php.net> <00cb01c8e8cd$1b5871e0$a7bd614d@foxbox> In-Reply-To: <00cb01c8e8cd$1b5871e0$a7bd614d@foxbox> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.4 X-Spam_Report: Spam detection software, running on the system "lovelace.midden.org.uk", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I've committed a fix now and it compiles correctly, I also removed the two warnings. Scott Steph Fox wrote: > > Scott, > >>> Isn't it just a case of rewriting php_apache_fteller_stream() to use >>> the new API? >> >> I think we can actually just add an fsizer function and use >> apr_brigade_length(pbb->bb); > > I think that's what 'rewriting php_apache_fteller_stream() means ;) Why > move it from pbb->total_len? > >> That should give us the length of all the data in the bucket brigade, >> not tested as I'm not even sure about how to go about doing so. I'll >> commit a patch later today to 5.3 and then merge all these missed >> changes to HEAD. > > Cool, > > - Steph > [...] Content analysis details: (-4.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: From: address is in the auto white-list Subject: Re: [PHP-DEV] Apache builds From: scottmac@php.net (Scott MacVicar) I've committed a fix now and it compiles correctly, I also removed the two warnings. Scott Steph Fox wrote: > > Scott, > >>> Isn't it just a case of rewriting php_apache_fteller_stream() to use >>> the new API? >> >> I think we can actually just add an fsizer function and use >> apr_brigade_length(pbb->bb); > > I think that's what 'rewriting php_apache_fteller_stream() means ;) Why > move it from pbb->total_len? > >> That should give us the length of all the data in the bucket brigade, >> not tested as I'm not even sure about how to go about doing so. I'll >> commit a patch later today to 5.3 and then merge all these missed >> changes to HEAD. > > Cool, > > - Steph >