Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11903 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42855 invoked by uid 1010); 4 Aug 2004 11:54:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 42831 invoked from network); 4 Aug 2004 11:54:29 -0000 Received: from unknown (HELO mproxy.gmail.com) (216.239.56.251) by pb1.pair.com with SMTP; 4 Aug 2004 11:54:29 -0000 Received: by mproxy.gmail.com with SMTP id u52so1391cwc for ; Wed, 04 Aug 2004 04:54:29 -0700 (PDT) Received: by 10.11.117.42 with SMTP id p42mr2475cwc; Wed, 04 Aug 2004 04:54:29 -0700 (PDT) Message-ID: <4e89b42604080404543b5b5086@mail.gmail.com> Date: Wed, 4 Aug 2004 12:54:29 +0100 To: Nuno Lopes Cc: PHPdev In-Reply-To: <016501c47a18$b9291e60$0100a8c0@pc07653> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <005d01c47a12$d1988450$0100a8c0@pc07653> <4e89b426040804043976e9ea50@mail.gmail.com> <016501c47a18$b9291e60$0100a8c0@pc07653> Subject: Re: [PHP-DEV] compressed streams From: kingwez@gmail.com (Wez Furlong) A filter != wrapper, so copying the code won't work. Filters are preferred over wrappers for compression/decompression in any case. I didn't say we weren't going to fix the bug, just that it might not be fixable; need to check into it. You don't *need* it, since you can always do this: $name = tempnam('/tmp', 'notes'); copy("http://.....", $name); fopen("compress.bzip://$name", 'r'); --Wez. On Wed, 4 Aug 2004 12:46:47 +0100, Nuno Lopes wrote: > This code is in PHP 5.1. We have plents of time to fix it. > If the PECL code works, why not copy it? I need this to allow anyone to > compile livedocs with notes (without needing the token) > > Nuno > > > > > ----- Original Message ----- > > Most likely a bug in the bzip2 wrapper. > > It might not be fixable, and it might be better to use Sara's bzip2 > > filter from pecl instead. > > > > --Wez. > >