Re: Re: Mission critical bug in Archive_Tar
| From: | vincent at blavet dot net | Date: | Thu, 03 Oct 2002 16:21:08 +0000 |
| Subject: | Re: Re: Mission critical bug in Archive_Tar | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9824@lists.php.net to get a copy of this message | ||
Quoting Martin Jansen <mail@martin-jansen.de>:
> On Mon, 30 Sep 2002 22:36:29 +0200 (MEST), vincent@blavet.net wrote:
>
> >Don't find the bug ... an archive created by a gnutar.exe tools is
> correctly
> >untar-ed by Archive_Tar.
> >Can you send ma a .tar file that is not working with Archive_Tar ?
>
> OK, so here you go: The code in the attached tar.php should be able to
> get the contents of both gzip'ed and tar'ed archives, but obviously
> fails with tar'ed files and raises an error in line 18.
>
> After reading the source of Archive_Tar I concluded that the second
> parameter of the constructor determines if the file is gzip'ed or not,
> right? So setting this parameter to false should enable Archive_Tar to
> work with "simple" tar files. Or did I misread something?
>
> I'm using revision 1.5 of Archive_Tar btw.
>
> For an example tar file just take php4/pear/packages/DB-1.3.tar.
>
> - Martin
>
>
I just download the last snaps (snaps.php.net) php4-200210030000.tar.gz, I did
(on mandrake 8.1) :
autoconfig
./config --with-zlib --with-pear
make
make install
with no error .... so I cannot troubleshoot the problem ...
Martin, you talk about a CVS version 1.5 of Tar.php file. The current version in
this CVS snap is 1.13. Where did you find a 1.5 version ?
Do I make/install the good files ?
Vincent